Skip to content

Commit

Permalink
show MaintenanceBanner until manual update
Browse files Browse the repository at this point in the history
  • Loading branch information
ivopaunov committed Oct 4, 2024
1 parent 8901473 commit 05fe517
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ const resolver: CSSVariablesResolver = (theme) => ({
ReactGA.initialize('G-PX5B4P9KKM')

function App() {
const showMaintenanceBanner = maintenanceStart < Date.now() && maintenanceEnd > Date.now()

return (
<AccountProvider>
<AdminProvider>
Expand All @@ -99,7 +97,7 @@ function App() {
<GlobalStyles />
<Notifications />
{ENV && <EnvBanner />}
{showMaintenanceBanner && <MaintenanceBanner />}
<MaintenanceBanner />
<RouterProvider router={router} />
</ModalsProvider>
</MantineProvider>
Expand Down

0 comments on commit 05fe517

Please sign in to comment.