Skip to content

Commit 6b2ed4d

Browse files
committed
Revert "Shutdown notice."
This reverts commit 310c368.
1 parent 310c368 commit 6b2ed4d

File tree

4 files changed

+1
-175
lines changed

4 files changed

+1
-175
lines changed

components/shutdownNotice/package.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

components/shutdownNotice/shutdownNotice.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

components/shutdownNotice/shutdownNotice.module.css

Lines changed: 0 additions & 130 deletions
This file was deleted.

pages/_app.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { ThemeProvider } from '@material-ui/core/styles';
33
import CssBaseline from '@material-ui/core/CssBaseline';
44

55
import SnackbarController from '../components/snackbar'
6-
import ShutdownNotice from '../components/shutdownNotice'
76

87
import stores from '../stores/index.js'
98

@@ -35,19 +34,11 @@ function MyApp({ Component, pageProps }) {
3534
stores.dispatcher.dispatch({ type: CONFIGURE })
3635
},[]);
3736

38-
const [shutdownNoticeOpen, setShutdownNoticeOpen] = useState(true);
39-
const closeShutdown = () => {
40-
setShutdownNoticeOpen(false)
41-
}
42-
4337
return (
4438
<ThemeProvider theme={ themeConfig }>
4539
<CssBaseline />
4640
<Component {...pageProps} changeTheme={ changeTheme } />
47-
<SnackbarController />
48-
{ shutdownNoticeOpen &&
49-
<ShutdownNotice close={ closeShutdown } />
50-
}
41+
<SnackbarController />
5142
</ThemeProvider>
5243
)
5344
}

0 commit comments

Comments
 (0)