mirror of https://github.com/sussy-code/smov.git
pls fix
This commit is contained in:
parent
9213f30392
commit
ba24bc6d4a
|
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue