diff --git a/apps/amakrushi/next.config.js b/apps/amakrushi/next.config.js
index 6e7cb44..e821846 100644
--- a/apps/amakrushi/next.config.js
+++ b/apps/amakrushi/next.config.js
@@ -20,7 +20,7 @@ module.exports = withBundleAnalyzer(
ignoreBuildErrors: true,
},
compiler: {
- removeConsole: false
+ removeConsole: true
},
i18n: {
locales: ['or', 'en'],
diff --git a/apps/amakrushi/src/components/HomePage/index.tsx b/apps/amakrushi/src/components/HomePage/index.tsx
index 4227fd1..5dd656c 100644
--- a/apps/amakrushi/src/components/HomePage/index.tsx
+++ b/apps/amakrushi/src/components/HomePage/index.tsx
@@ -375,13 +375,15 @@ const HomePage: NextPage = () => {
width: '100%',
maxWidth: '500px',
}}>
-
{ context?.setKaliaClicked((props: boolean) => !props); }}>
-
{t('label.kalia_status')}
+
{
+ sendMessage(t('label.weather_advisory'));
+ }}>
+
{t('label.weather_advisory')}
{
@@ -396,17 +398,15 @@ const HomePage: NextPage = () => {
/>
- {
- sendMessage(t('label.weather_advisory'));
- }}>
-
{t('label.weather_advisory')}
+ {/*
{ context?.setKaliaClicked((props: boolean) => !props); }}>
+
{t('label.kalia_status')}
-
+
*/}
diff --git a/apps/amakrushi/src/pages/_app.tsx b/apps/amakrushi/src/pages/_app.tsx
index 894b712..df86eb4 100644
--- a/apps/amakrushi/src/pages/_app.tsx
+++ b/apps/amakrushi/src/pages/_app.tsx
@@ -141,13 +141,13 @@ const App = ({ Component, pageProps }: AppProps) => {
console.log({ permissionPromise });
await updateUser(permissionPromise);
};
-
+//
updateAndRequestPermission();
}
}, [isAuthenticated, updateUser]);
if (process.env.NODE_ENV === 'production') {
- // globalThis.console.log = () => {};
+ globalThis.console.log = () => {};
}
// For install PWA dialog box