From 60c18269563e4d839faf56ef481885fc133eef1c Mon Sep 17 00:00:00 2001 From: ardier16 Date: Tue, 12 Dec 2023 16:18:15 +0200 Subject: [PATCH] Fix build --- package.json | 2 +- src/pages/SignInPage/SignInPage.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ce1a242..8a46bac 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "vite-dev-server": "vite", "vite-build": "vite build", "start": "dotenv -e .env.local yarn vite-dev-server", - "build": "NODE_OPTIONS=--max-old-space-size=8192 dotenv -e .env.production yarn vite-build", + "build": "dotenv -e .env.production yarn vite-build", "analyze": "dotenv -e .env.analyze yarn vite-build", "lint": "yarn lint:styles && yarn lint:scripts", "lint:styles": "stylelint \"src/**/*.{css,sass,scss}\" --max-warnings=0", diff --git a/src/pages/SignInPage/SignInPage.tsx b/src/pages/SignInPage/SignInPage.tsx index 3e99c9c..d5312fe 100644 --- a/src/pages/SignInPage/SignInPage.tsx +++ b/src/pages/SignInPage/SignInPage.tsx @@ -10,7 +10,7 @@ import { useNavigate } from 'react-router-dom' import { AppButton, Icon } from '@/common' import { useMetamaskZkpSnapContext, useWeb3Context } from '@/contexts' import { IconNames, RoutesPaths } from '@/enums' -import { bus, BUS_EVENTS } from '@/helpers' +// import { bus, BUS_EVENTS } from '@/helpers' const SignInPage = () => { const [isPending, setIsPending] = useState(false) @@ -62,7 +62,7 @@ const SignInPage = () => { const openInstallMetamaskLink = useCallback(() => { if (!installMMLink) { - bus.emit(BUS_EVENTS.warning, `Your browser is not support Metamask`) + // bus.emit(BUS_EVENTS.warning, `Your browser is not support Metamask`) return }