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

Commit df38f3b

Browse files
committed
removing timeout
1 parent 4a84ca3 commit df38f3b

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

packages/sygma-ui/src/App.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -153,19 +153,6 @@ const App: React.FC<{}> = () => {
153153
}
154154
}, []);
155155

156-
useEffect(() => {
157-
let timeoutId: any;
158-
if (supportedNetworkMessage) {
159-
timeoutId = setTimeout(() => {
160-
setSupportedNetworkMessage(false);
161-
}, 5000);
162-
}
163-
164-
return () => {
165-
clearTimeout(timeoutId);
166-
};
167-
}, [supportedNetworkMessage]);
168-
169156
return (
170157
<ErrorBoundary
171158
fallback={({ error, componentStack, eventId, resetError }) => (

0 commit comments

Comments
 (0)