Skip to content

Commit

Permalink
Merge branch 'main' into wagmi-viem-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 authored Oct 23, 2023
2 parents fbb57c4 + 8cd5249 commit 84a2f2b
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 439 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ This command deploys a test smart contract to the local network. The contract is
yarn start
```

Visit your app on: `http://localhost:3000`. You can interact with your smart contract using the contract component or the example ui in the frontend. You can tweak the app config in `packages/nextjs/scaffold.config.ts`.
Visit your app on: `http://localhost:3000`. You can interact with your smart contract using the `Debug Contracts` page. You can tweak the app config in `packages/nextjs/scaffold.config.ts`.

Run smart contract test with `yarn hardhat:test`

Expand Down
3 changes: 1 addition & 2 deletions packages/nextjs/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
{
"endOfLine": "auto"
}
],
"@next/next/no-page-custom-font": ["off"]
]
}
}
7 changes: 1 addition & 6 deletions packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useCallback, useRef, useState } from "react";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
import { Bars3Icon, BugAntIcon, SparklesIcon } from "@heroicons/react/24/outline";
import { Bars3Icon, BugAntIcon } from "@heroicons/react/24/outline";
import { FaucetButton, RainbowKitCustomConnectButton } from "~~/components/scaffold-eth";
import { useOutsideClick } from "~~/hooks/scaffold-eth";

Expand All @@ -22,11 +22,6 @@ export const menuLinks: HeaderMenuLink[] = [
href: "/debug",
icon: <BugAntIcon className="h-4 w-4" />,
},
{
label: "Example UI",
href: "/example-ui",
icon: <SparklesIcon className="h-4 w-4" />,
},
];

export const HeaderMenuLinks = () => {
Expand Down
148 changes: 0 additions & 148 deletions packages/nextjs/components/example-ui/ContractData.tsx

This file was deleted.

91 changes: 0 additions & 91 deletions packages/nextjs/components/example-ui/ContractInteraction.tsx

This file was deleted.

24 changes: 0 additions & 24 deletions packages/nextjs/components/example-ui/assets/CopyIcon.tsx

This file was deleted.

40 changes: 0 additions & 40 deletions packages/nextjs/components/example-ui/assets/DiamondIcon.tsx

This file was deleted.

33 changes: 0 additions & 33 deletions packages/nextjs/components/example-ui/assets/HareIcon.tsx

This file was deleted.

1 change: 0 additions & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"react": "^18.2.0",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"react-fast-marquee": "^1.3.5",
"react-hot-toast": "^2.4.0",
"use-debounce": "^8.0.4",
"usehooks-ts": "^2.7.2",
Expand Down
Loading

0 comments on commit 84a2f2b

Please sign in to comment.