Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/base #11

Merged
merged 3 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading