Skip to content

Commit

Permalink
⚰️ chore: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraglol committed Mar 24, 2022
1 parent c43d8e8 commit 51c0988
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions web/@types/types.ts

This file was deleted.

11 changes: 0 additions & 11 deletions web/pages/mint/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import type { NextPage } from "next";
import { useEffect, useState } from "react";

import { Box, Text, Button, Badge } from "@chakra-ui/react";
import type { modes } from "../../@types/types";

import { Header } from "../../components";

Expand All @@ -13,20 +11,11 @@ import {
} from "@thirdweb-dev/react";

const MintPage: NextPage = () => {
const [env, setEnv] = useState<modes>();
const connectWithMetamask = useMetamask()
const address = useAddress()

const nftDrop = useNFTDrop("0x968fAE78A3FdF1C3DBfb86F00Ab9590b4B145b8e");

useEffect(() => {
process.env.NODE_ENV === "development"
? setEnv("development")
: process.env.NODE_ENV === "production"
? setEnv("production")
: setEnv("test");
}, [env, setEnv]);

return (
<>
<Box
Expand Down

0 comments on commit 51c0988

Please sign in to comment.