Skip to content

Commit

Permalink
Merge branch 'main' into env/testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
canhtrinh committed Dec 19, 2023
2 parents a1280d0 + dfbafb7 commit b65e728
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/maestro/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { useRouter } from "next/router";

import { useNetwork } from "wagmi";

import { NEXT_PUBLIC_NETWORK_ENV } from "~/config/env";
import RecentTransactions from "~/features/RecentTransactions";
import SearchInterchainToken, {
TokenFoundResult,
Expand Down Expand Up @@ -38,9 +37,7 @@ export default function Home() {
const handleDismissBanner = layoutActions.dismissDisclaimerBanner;

const shouldRenderTestnetBanner =
NEXT_PUBLIC_NETWORK_ENV === "testnet" &&
!layoutState.isSignInModalOpen &&
!layoutState.isBetaBannerDismissed;
!layoutState.isSignInModalOpen && !layoutState.isBetaBannerDismissed;

return (
<>
Expand Down

0 comments on commit b65e728

Please sign in to comment.