Skip to content

Commit

Permalink
fix vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mjlescano committed Jan 15, 2025
1 parent 0f9c81b commit dc90dbc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/website/src/features/Deploy/WithSafe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ import { SafeAddressInput } from './SafeAddressInput';

export default function WithSafe({ children }: { children: ReactNode }) {
const currentSafe = useStore((s) => s.currentSafe);
// Uncomment the following line to use test with local network
// const currentSafe = { chainId: 31337 };
const { isConnected } = useAccount();
const { openConnectModal } = useConnectModal();

const onchainStoreBytecode = useBytecode({
chainId: currentSafe?.chainId,
Expand Down Expand Up @@ -60,6 +56,11 @@ export default function WithSafe({ children }: { children: ReactNode }) {
}

function SelectSafeMessage() {
// Uncomment the following line to use test with local network
// const currentSafe = { chainId: 31337 };
const { isConnected } = useAccount();
const { openConnectModal } = useConnectModal();

return (
<div className="flex flex-col items-center justify-center text-center p-3 flex-1 bg-black/60">
<motion.svg
Expand Down

0 comments on commit dc90dbc

Please sign in to comment.