1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Server's migrated sucessfully removing downtime page

This commit is contained in:
Cooper Ransom 2024-03-03 00:47:37 -05:00
parent eb331e4323
commit 55c8d5094b

View file

@ -104,7 +104,8 @@ function App() {
useHistoryListener();
useOnlineListener();
const { t } = useTranslation();
const [showDowntime, setShowDowntime] = useState(false);
const maintenance = false;
const [showDowntime, setShowDowntime] = useState(maintenance);
const handleButtonClick = () => {
setShowDowntime(false);
@ -116,7 +117,7 @@ function App() {
setShowDowntime(true);
sessionStorage.setItem("downtimeToken", "true");
}
}, []);
}, [setShowDowntime]);
return (
<Layout>