This commit is contained in:
Cooper Ransom 2024-03-31 16:27:45 -04:00
parent 9213f30392
commit ba24bc6d4a
1 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ function QueryView() {
function App() { function App() {
useHistoryListener(); useHistoryListener();
useOnlineListener(); useOnlineListener();
const maintenance = true; // Shows maintance page const maintenance = false; // Shows maintance page
const [showDowntime, setShowDowntime] = useState(maintenance); const [showDowntime, setShowDowntime] = useState(maintenance);
const handleButtonClick = () => { const handleButtonClick = () => {
@ -175,9 +175,9 @@ function App() {
<Route path="*" element={<NotFoundPage />} /> <Route path="*" element={<NotFoundPage />} />
</Routes> </Routes>
)} )}
{showDowntime && ( {/*showDowntime && (
<MaintenancePage onHomeButtonClick={handleButtonClick} /> <MaintenancePage onHomeButtonClick={handleButtonClick} />
)} )*/}
</Layout> </Layout>
); );
} }