Skip to content

Commit 5cf3261

Browse files
committed
Fix linter warnings
1 parent 4ce13b7 commit 5cf3261

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/react-radfish/Application/index.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ function ApplicationComponent(props) {
1111

1212
useEffect(() => {
1313
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-
}
1814
prevIsOffline.current = isOffline;
19-
}, [isOffline]);
15+
} else if (prevIsOffline.current && !isOffline) {
16+
dispatchToast({ message: "Application is online", status: "info", duration: 3000 });
17+
}
18+
prevIsOffline.current = isOffline;
19+
}, [isOffline]);
2020

2121
return (
2222
<div className="radfish__application">

0 commit comments

Comments
 (0)