Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-vahn committed Apr 22, 2024
1 parent 5bbcf8f commit f020e58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/connectOverlay/ConnectOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const BRIDGE_URL = import.meta.env.VITE_BRIDGE_URL || '';
const ConnectOverlay: React.FC<Props> = ({
slideAnimation,
close,
onConnect,
// onConnect,
}) => {
const [networksExpanded, setNetworksExpanded] = useState(true);
const [walletsExpanded, setWalletsExpanded] = useState(false);
Expand All @@ -49,12 +49,12 @@ const ConnectOverlay: React.FC<Props> = ({
console.log(BRIDGE_URL);

const response = await axios.post(BRIDGE_URL + '/init-provider');
const providerId = response.data.providerId;
// const providerId = response.data.providerId;
WebApp.openLink(response.data.universalLink);
close();

const startTime = Date.now(); // Record start time
const timeout = 30000; // 30 seconds timeout
// const startTime = Date.now(); // Record start time
// const timeout = 30000; // 30 seconds timeout

// Function to check connection status
// const checkConnection = async () => {
Expand Down

0 comments on commit f020e58

Please sign in to comment.