Skip to content

Commit

Permalink
Set default chain
Browse files Browse the repository at this point in the history
  • Loading branch information
taskooh committed Aug 24, 2024
1 parent 2a3c62f commit e64475c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 53 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
},
"dependencies": {
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@thirdweb-dev/contracts": "^3.8.0",
"@types/react-datepicker": "^7.0.0",
"clsx": "^2.1.1",
"cross-spawn": "^7.0.3",
Expand Down
3 changes: 2 additions & 1 deletion src/components/MyConnectButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { client } from "@/app/client";
import { chain, client } from "@/app/client";
import { ConnectButton, ConnectButtonProps } from "thirdweb/react";

type MyConnectButtonProps = Omit<ConnectButtonProps, 'client'>
Expand All @@ -8,6 +8,7 @@ export default function MyConnectButton(props: MyConnectButtonProps) {
<ConnectButton
{...props}
client={client}
chain={chain}
appMetadata={{
name: "OpenBooking",
url: "https://openbooking.vercel.app",
Expand Down
51 changes: 0 additions & 51 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3136,20 +3136,6 @@ __metadata:
languageName: node
linkType: hard

"@openzeppelin/contracts-upgradeable@npm:^4.4.2, @openzeppelin/contracts-upgradeable@npm:^4.9.3":
version: 4.9.6
resolution: "@openzeppelin/contracts-upgradeable@npm:4.9.6"
checksum: 10/af9057147f13b6f0e13ca69581777f615f2cce8c6c274ec00fbea906a9095cd9ca1fb70e2c1282122a9f522fd639641c180bf1ad79bb2722494aac5ae9e565bc
languageName: node
linkType: hard

"@openzeppelin/contracts@npm:^4.9.3":
version: 4.9.6
resolution: "@openzeppelin/contracts@npm:4.9.6"
checksum: 10/71f45ad42e68c0559be4ba502115462a01c76fc805c08d3005c10b5550a093f1a2b00b2d7e9d6d1f331e147c50fd4ad832f71c4470ec5b34f5a2d0751cd19a47
languageName: node
linkType: hard

"@parcel/watcher-android-arm64@npm:2.4.1":
version: 2.4.1
resolution: "@parcel/watcher-android-arm64@npm:2.4.1"
Expand Down Expand Up @@ -4225,26 +4211,6 @@ __metadata:
languageName: node
linkType: hard

"@thirdweb-dev/contracts@npm:^3.8.0":
version: 3.15.0
resolution: "@thirdweb-dev/contracts@npm:3.15.0"
dependencies:
"@openzeppelin/contracts": "npm:^4.9.3"
"@openzeppelin/contracts-upgradeable": "npm:^4.9.3"
"@thirdweb-dev/dynamic-contracts": "npm:^1.2.4"
erc721a-upgradeable: "npm:^3.3.0"
solady: "npm:0.0.180"
checksum: 10/da33b5697fb2f1bd7e619958bd36f0cbcc3f6550b3113e3c1707cef297e79da7e55539e235f4b3bf2a0998fa4e0c6b52c96ed57b652333101152c5ae3f92b0d2
languageName: node
linkType: hard

"@thirdweb-dev/dynamic-contracts@npm:^1.2.4":
version: 1.2.5
resolution: "@thirdweb-dev/dynamic-contracts@npm:1.2.5"
checksum: 10/b747d7247ce08fa5d09e425de8050255931833b82e100988303af621e936ab30265b3a96392bf07a4e8953d545a8728a93a286d26d0c72442ba6afcfa10a66fe
languageName: node
linkType: hard

"@trysound/sax@npm:0.2.0":
version: 0.2.0
resolution: "@trysound/sax@npm:0.2.0"
Expand Down Expand Up @@ -7269,15 +7235,6 @@ __metadata:
languageName: node
linkType: hard

"erc721a-upgradeable@npm:^3.3.0":
version: 3.3.0
resolution: "erc721a-upgradeable@npm:3.3.0"
dependencies:
"@openzeppelin/contracts-upgradeable": "npm:^4.4.2"
checksum: 10/6fff2af917d840f5304d0c3437e1f1ea61b5493703c7b734ea665dc3dfce1cda16aac0fd993f491e24298a7cc5192d646ac77fdf13b271971b25b9d11a72052e
languageName: node
linkType: hard

"err-code@npm:^2.0.2":
version: 2.0.3
resolution: "err-code@npm:2.0.3"
Expand Down Expand Up @@ -7979,7 +7936,6 @@ __metadata:
"@nomicfoundation/hardhat-verify": "npm:^2.0.0"
"@nomicfoundation/ignition-core": "npm:^0.15.5"
"@svgr/webpack": "npm:^8.1.0"
"@thirdweb-dev/contracts": "npm:^3.8.0"
"@typechain/ethers-v6": "npm:^0.5.0"
"@typechain/hardhat": "npm:^9.0.0"
"@types/chai": "npm:^4.2.0"
Expand Down Expand Up @@ -12679,13 +12635,6 @@ __metadata:
languageName: node
linkType: hard

"solady@npm:0.0.180":
version: 0.0.180
resolution: "solady@npm:0.0.180"
checksum: 10/ab4743a7ba6e5c6f718a58cd2cf00cacfea111c0111e91ad350720768f697ecebb02c282bb0b8b57ae9f108f2e7634a32b562a0f949a56e1360102499400cb52
languageName: node
linkType: hard

"solc@npm:0.8.26":
version: 0.8.26
resolution: "solc@npm:0.8.26"
Expand Down

0 comments on commit e64475c

Please sign in to comment.