-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c506e7
commit 3156cf2
Showing
5 changed files
with
78 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
packages/nextjs/app/collections/[network]/[address]/[tokenId]/page.tsx
This file was deleted.
Oops, something went wrong.
58 changes: 0 additions & 58 deletions
58
packages/nextjs/app/collections/[network]/[address]/page.tsx
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
packages/nextjs/z_app/collections/[network]/[address]/[tokenId]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// "use client"; | ||
|
||
// export default function Token({ params }: { params: { id: string } }) { | ||
// console.log(params); | ||
|
||
// return ( | ||
// <div> | ||
// <p>Hello!</p> | ||
// </div> | ||
// ); | ||
// } |
58 changes: 58 additions & 0 deletions
58
packages/nextjs/z_app/collections/[network]/[address]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
// "use client"; | ||
|
||
// import React from "react"; | ||
// //, { useEffect } | ||
// import { useState } from "react"; | ||
// import { useAccount } from "wagmi"; | ||
// // import "react-dropdown/style.css"; | ||
// import { Collection } from "~~/components/scaffold-nft/collection/Collection"; | ||
// // import useAdvancedFiltering from "~~/hooks/scaffold-nft/useAdvancedFiltering"; | ||
// // import useCheckboxes from "~~/hooks/scaffold-nft/useCheckboxes"; | ||
// // import useTokenIds from "~~/hooks/scaffold-nft/useTokenIds"; | ||
// import { useTokens } from "~~/hooks/scaffold-nft/useTokens"; | ||
|
||
// // import { renderInputOptions } from "~~/scaffold-nft-config"; | ||
|
||
// export default function CollectionPage({ params }: { params: { network: string; address: string } }) { | ||
// // const { inputComponents, componentsToRender } = useCheckboxes(renderInputOptions); | ||
|
||
// const userAccount = useAccount(); | ||
|
||
// // const { tokenIds, setTokenIds } = useTokenIds(2); | ||
// // async function onSubmit(newIds: bigint[]) { | ||
// // setTokenIds([...newIds]); | ||
// // } | ||
|
||
// // const tokenIds = [BigInt(0), BigInt(1)]; | ||
|
||
// const [tokenIds] = useState<bigint[]>([BigInt(0), BigInt(1)]); | ||
|
||
// // const { | ||
// // chosenOption, | ||
// // // chosenOption2, | ||
// // output: advancedOutput, | ||
// // } = useAdvancedFiltering(inputComponents, onSubmit); | ||
|
||
// const { collection, isLoading, isError } = useTokens( | ||
// params["network"], | ||
// params["address"], | ||
// userAccount.address, | ||
// tokenIds, | ||
// "nftstorage", | ||
// //chosenOption2, | ||
// ); | ||
|
||
// console.log(collection); | ||
|
||
// return ( | ||
// <div className="flex flex-col items-center justify-center"> | ||
// {/* {advancedOutput} */} | ||
// <Collection | ||
// collection={collection} | ||
// isLoading={isLoading} | ||
// isError={isError} | ||
// renderOrder={["Balance", "Image", "Token Id", "Name", "Description", "Type", "Attributes"]} | ||
// /> | ||
// </div> | ||
// ); | ||
// } |