diff --git a/.env.local.sample b/.env.local.sample index 04f8dfd2..c906c34e 100644 --- a/.env.local.sample +++ b/.env.local.sample @@ -1,4 +1,5 @@ NEXT_PUBLIC_API_URL=http://locahost:4000 NEXT_PUBLIC_WS_URL=ws://localhost:4000/socket NEXT_PUBLIC_QRCODE_HOST=seium.org -NEXT_PUBLIC_BACKOFFICE_FEATURE_FLAG=true \ No newline at end of file +NEXT_PUBLIC_BACKOFFICE_FEATURE_FLAG=true +NEXT_PUBLIC_NOTIFICATIONS_FEATURE_FLAG=false \ No newline at end of file diff --git a/pages/_app.tsx b/pages/_app.tsx index 23612835..aa910ffe 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -8,6 +8,15 @@ import "../styles/globals.css"; import { NotifyProvider } from "@context/Notification"; function App({ Component, pageProps }) { + if (process.env.NEXT_PUBLIC_NOTIFICATIONS_FEATURE_FLAG === "false") { + return ( + +
+ + + ); + } + return (