Skip to content

Commit

Permalink
remove GT mint
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBeardEth committed Dec 20, 2023
1 parent 6ef1cc0 commit 120f504
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions apps/nextjs/src/app/collection/[id]/(list)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { erc721Tokens } from "@/constants";
import React from "react";
import CollectionSummary from "@/app/collection/CollectionSummary";
import type { erc721Tokens } from "@/constants";
import { NETWORK_NAME } from "@/constants/env";
import { getTokenContractAddresses } from "@/utils/utils";

Expand Down Expand Up @@ -35,12 +35,12 @@ export default function RootLayout({
link: isMintable ? "trade" : "",
},
];
if (isMintable) {
/*if (isMintable) {
tabs.unshift({
name: "Mint",
link: "",
});
}
}*/
if (params.id == "realms") {
tabs.push(
{ name: "Analytics", link: "analytics" },
Expand Down Expand Up @@ -70,6 +70,7 @@ export default function RootLayout({
className="hover:text-flamingo/70"
size={"sm"}
exact
disabled={true}
href={`/collection/${params.id}${tab.link && "/" + tab.link}`}
>
{tab.name}
Expand Down
6 changes: 3 additions & 3 deletions apps/nextjs/src/app/collection/[id]/(list)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { Collection } from "@/types";
import type { Metadata } from "next";
import { erc721Tokens } from "@/constants";
import { NETWORK_NAME } from "@/constants/env";
import { getAttributes } from "@/lib/reservoir/getAttributes";
import { getCollections } from "@/lib/reservoir/getCollections";
import { getToken } from "@/lib/reservoir/getToken";
import type { Collection } from "@/types";
import { getTokenContractAddresses } from "@/utils/utils";

import Mint from "./Mint";
Expand Down Expand Up @@ -40,14 +40,14 @@ export default async function Page({
page?: string;
};
}) {
const isGoerliGoldenToken =
/*const isGoerliGoldenToken =
NETWORK_NAME == "GOERLI" &&
(params.id == getTokenContractAddresses("goldenToken").L2 ||
params.id == "goldenToken");
if (isGoerliGoldenToken) {
return <Mint contractId={params.id} />;
}
}*/

return (
<Trade
Expand Down

0 comments on commit 120f504

Please sign in to comment.