diff --git a/explorer-nextjs/package.json b/explorer-nextjs/package.json index 70348d55a6..be2ea21c9d 100644 --- a/explorer-nextjs/package.json +++ b/explorer-nextjs/package.json @@ -4,6 +4,7 @@ "scripts": { "dev": "next dev --turbopack", "build": "next build", + "build:prod": "yarn --cwd .. build && next build", "start": "next start", "lint": "next lint" }, diff --git a/explorer-nextjs/src/components/button/index.tsx b/explorer-nextjs/src/components/button/index.tsx index abf5ef7a3a..92d3f4a1bf 100644 --- a/explorer-nextjs/src/components/button/index.tsx +++ b/explorer-nextjs/src/components/button/index.tsx @@ -82,7 +82,7 @@ export const Button = ({ : `1px solid ${t.palette.primary.contrastText}` : "1px solid transparent", "&:hover": { - backgroundColor: (t) => hoverBgColor(t), + backgroundColor: hoverBgColor, }, "&:disabled": { color: "text.disabled", diff --git a/explorer-nextjs/src/components/header/AccountButton.tsx b/explorer-nextjs/src/components/header/AccountButton.tsx deleted file mode 100644 index bd1bed772b..0000000000 --- a/explorer-nextjs/src/components/header/AccountButton.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { Link } from "@/components/muiLink"; -import type { Languages } from "@/i18n"; -import UserIcon from "@/public/icons/user.svg"; - -export const AccountButton = ({ locale }: { locale: Languages }) => { - return ( - - - - ); -};