Skip to content

Commit

Permalink
Merge pull request #322 from AElfProject/feature/refactor-2.0.0-Block…
Browse files Browse the repository at this point in the history
…chain

feat: chang icon
  • Loading branch information
Peterbjx committed Apr 29, 2024
2 parents b4a67bc + 5ad482c commit c804ba8
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 c804ba8

Please sign in to comment.