diff --git a/packages/nextjs/components/Footer.tsx b/packages/nextjs/components/Footer.tsx index 66feda99..b8eab224 100644 --- a/packages/nextjs/components/Footer.tsx +++ b/packages/nextjs/components/Footer.tsx @@ -8,6 +8,9 @@ import { import { HeartIcon } from "@heroicons/react/24/outline"; import { SwitchTheme } from "~~/components/SwitchTheme"; import { BuidlGuidlLogo } from "~~/components/assets/BuidlGuidlLogo"; +import { useTargetNetwork } from "~~/hooks/scaffold-stark/useTargetNetwork"; +import { useGlobalState } from "~~/services/store/store"; +import { devnet } from "@starknet-react/chains"; // import { Faucet } from "~~/components/scaffold-eth"; // import { useTargetNetwork } from "~~/hooks/scaffold-eth/useTargetNetwork"; // import { useGlobalState } from "~~/services/store/store"; @@ -16,18 +19,18 @@ import { BuidlGuidlLogo } from "~~/components/assets/BuidlGuidlLogo"; * Site footer */ export const Footer = () => { - // const nativeCurrencyPrice = useGlobalState( - // (state) => state.nativeCurrencyPrice - // ); - // const { targetNetwork } = useTargetNetwork(); - const isLocalNetwork = false; + const nativeCurrencyPrice = useGlobalState( + (state) => state.nativeCurrencyPrice, + ); + const { targetNetwork } = useTargetNetwork(); + const isLocalNetwork = targetNetwork.id === devnet.id; return (