Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
removing timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
wainola committed Jul 19, 2023
1 parent 4a84ca3 commit df38f3b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/sygma-ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,19 +153,6 @@ const App: React.FC<{}> = () => {
}
}, []);

useEffect(() => {
let timeoutId: any;
if (supportedNetworkMessage) {
timeoutId = setTimeout(() => {
setSupportedNetworkMessage(false);
}, 5000);
}

return () => {
clearTimeout(timeoutId);
};
}, [supportedNetworkMessage]);

return (
<ErrorBoundary
fallback={({ error, componentStack, eventId, resetError }) => (
Expand Down

0 comments on commit df38f3b

Please sign in to comment.