Skip to content

Commit

Permalink
removed rep.vision
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobHomanics committed Jun 25, 2024
1 parent 0c506e7 commit 3156cf2
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 78 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ jobs:
- name: Install dependencies
run: yarn install --immutable

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
# - name: Install Foundry
# uses: foundry-rs/foundry-toolchain@v1

- name: Run foundry node, deploy contracts (& generate contracts typescript output)
env:
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
run: yarn chain & yarn deploy
id: build
# - name: Run foundry node, deploy contracts (& generate contracts typescript output)
# env:
# ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
# run: yarn chain & yarn deploy
# id: build

- name: Run tests
run: yarn test -vvv
# - name: Run tests
# run: yarn test -vvv


- name: Run nextjs lint
Expand Down

This file was deleted.

58 changes: 0 additions & 58 deletions packages/nextjs/app/collections/[network]/[address]/page.tsx

This file was deleted.

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 packages/nextjs/z_app/collections/[network]/[address]/page.tsx
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>
// );
// }

0 comments on commit 3156cf2

Please sign in to comment.