We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ce13b7 commit 5cf3261Copy full SHA for 5cf3261
packages/react-radfish/Application/index.jsx
@@ -11,12 +11,12 @@ function ApplicationComponent(props) {
11
12
useEffect(() => {
13
if (prevIsOffline.current === null) {
14
- prevIsOffline.current = isOffline;
15
- } else if (prevIsOffline.current && !isOffline) {
16
- dispatchToast({ message: "Application is online", status: "info", duration: 3000 });
17
- }
18
prevIsOffline.current = isOffline;
19
- }, [isOffline]);
+ } else if (prevIsOffline.current && !isOffline) {
+ dispatchToast({ message: "Application is online", status: "info", duration: 3000 });
+ }
+ prevIsOffline.current = isOffline;
+ }, [isOffline]);
20
21
return (
22
<div className="radfish__application">
0 commit comments