Skip to content

Commit

Permalink
feat: chang icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Peterbjx committed Apr 29, 2024
1 parent 873676a commit 5ad482c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
3 changes: 2 additions & 1 deletion src/_components/HeaderTop/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Image from 'next/image';
import clsx from 'clsx';
import './index.css';
import Search from '@_components/Search';
import { isMainNet } from '@_utils/isMainNet';
// import { isMainNet } from '@_utils/isMainNet';
import MobileHeaderMenu from '@_components/MobileHeaderMenu';
import { usePathname } from 'next/navigation';
import { useAppSelector } from '@_store';
Expand Down Expand Up @@ -37,6 +37,7 @@ export default function HeaderTop({ price, range, networkList, headerMenuList }:
const finalUrl = networkList.find((ele) => ele.key === networkType)?.path;
const { chain } = useParams();
const router = useRouter();
const isMainNet = true;

return (
<div className={clsx(clsPrefix, isMainNet && `${clsPrefix}-main`, isMobile && `${clsPrefix}-mobile`)}>
Expand Down
8 changes: 0 additions & 8 deletions src/app/api/revalidate/route.ts

This file was deleted.

0 comments on commit 5ad482c

Please sign in to comment.