Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ardier16 committed Dec 12, 2023
1 parent 143bf8e commit 60c1826
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/SignInPage/SignInPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 60c1826

Please sign in to comment.