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() {
|
||||
useHistoryListener();
|
||||
useOnlineListener();
|
||||
const maintenance = true; // Shows maintance page
|
||||
const maintenance = false; // Shows maintance page
|
||||
const [showDowntime, setShowDowntime] = useState(maintenance);
|
||||
|
||||
const handleButtonClick = () => {
|
||||
|
@ -175,9 +175,9 @@ function App() {
|
|||
<Route path="*" element={<NotFoundPage />} />
|
||||
</Routes>
|
||||
)}
|
||||
{showDowntime && (
|
||||
{/*showDowntime && (
|
||||
<MaintenancePage onHomeButtonClick={handleButtonClick} />
|
||||
)}
|
||||
)*/}
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue