From 15f40670a8055f095919ebeea3b6fd2925691e5d Mon Sep 17 00:00:00 2001 From: daniel-vahn Date: Thu, 18 Apr 2024 13:15:51 +0200 Subject: [PATCH] test --- src/components/connectOverlay/ConnectOverlay.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/connectOverlay/ConnectOverlay.tsx b/src/components/connectOverlay/ConnectOverlay.tsx index 69a8b99..ae491ce 100644 --- a/src/components/connectOverlay/ConnectOverlay.tsx +++ b/src/components/connectOverlay/ConnectOverlay.tsx @@ -45,6 +45,7 @@ const ConnectOverlay: React.FC = ({ try { const response = await axios.post(BRIDGE_URL + '/init-provider'); const providerId = response.data.providerId; + WebApp.openLink(response.data.universalLink); close(); const startTime = Date.now(); // Record start time @@ -52,7 +53,6 @@ const ConnectOverlay: React.FC = ({ // Function to check connection status const checkConnection = async () => { - WebApp.openLink(response.data.universalLink); if (Date.now() - startTime > timeout) { return; }