Skip to content

Commit

Permalink
Merge pull request #11 from dynamic-labs/fix/base
Browse files Browse the repository at this point in the history
Fix/base
  • Loading branch information
matthew1809 authored Jul 8, 2024
2 parents 05d1d22 + adc94c1 commit 6b9e2aa
Show file tree
Hide file tree
Showing 7 changed files with 634 additions and 657 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ node_modules

# cli
dist

# env
.env
3 changes: 2 additions & 1 deletion packages/nextjs/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// app/page.tsx
"use client";

import Link from "next/link";
Expand All @@ -7,6 +6,8 @@ import { useAccount } from "wagmi";
import { BugAntIcon, MagnifyingGlassIcon } from "@heroicons/react/24/outline";
import { Address } from "~~/components/scaffold-eth";

// app/page.tsx

const Home: NextPage = () => {
const { address: connectedAddress } = useAccount();

Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/app/safe/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { formatUnits } from "viem";
import { baseSepolia } from "viem/chains";
import { useAccount, useBalance, useReadContract } from "wagmi";
import { CheckCircleIcon } from "@heroicons/react/20/solid";
import { CheckBadgeIcon, ClipboardIcon } from "@heroicons/react/24/outline";
import { ClipboardIcon } from "@heroicons/react/24/outline";
import { ERC20_ABI } from "~~/lib/ABI";
import { TransactionDetails, getTransactionOnBaseSepoliaByHash } from "~~/lib/blockscout";
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Image from "next/image";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { DynamicWidget } from "@dynamic-labs/sdk-react-core";
import { Bars3Icon, BugAntIcon, WalletIcon } from "@heroicons/react/24/outline";
import { Bars3Icon, BugAntIcon, WalletIcon } from "@heroicons/react/24/outline";
import { FaucetButton } from "~~/components/scaffold-eth";
import { useOutsideClick } from "~~/hooks/scaffold-eth";

Expand Down
13 changes: 0 additions & 13 deletions packages/nextjs/components/ScaffoldEthAppWithProviders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,6 @@ export const ScaffoldEthAppWithProviders = ({ children }: { children: React.Reac
},
networkId: 2810,
},
{
blockExplorerUrls: ["https://sepolia.basescan.org/"],
chainId: 84532,
name: "Base Sepolia",
rpcUrls: ["https://base-sepolia-rpc.publicnode.com"],
iconUrls: ["https://avatars.githubusercontent.com/u/108554348?v=4"],
nativeCurrency: {
name: "Ethereum",
symbol: "ETH",
decimals: 18,
},
networkId: 84532,
},
{
blockExplorerUrls: ["https://explorer.zircuit.com"],
chainId: 48899,
Expand Down
Loading

0 comments on commit 6b9e2aa

Please sign in to comment.