Skip to content

Commit

Permalink
🍒🍿 ↝ Removing web3 components from fcdb build to aid in improving new…
Browse files Browse the repository at this point in the history
… layout. Will add back later
  • Loading branch information
Gizmotronn committed Jun 28, 2023
1 parent a8af6cd commit 00d5af8
Show file tree
Hide file tree
Showing 34 changed files with 170 additions and 4,233 deletions.
16 changes: 8 additions & 8 deletions components/Gameplay/Planets/PlanetCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Link from "next/link";

import { useSession, useSupabaseClient } from "@supabase/auth-helpers-react";
import PlanetEditor, { PlanetEditorFromData } from "../../../pages/generator/planet-editor";
import StakePlay from "../../../pages/stake/play";
// import StakePlay from "../../../pages/stake/play";
import UtterancesComments from "../../Lens/Utterances";
import { useContract, useContractRead, useContractWrite, useLazyMint } from "@thirdweb-dev/react";
import { planetsImagesCdnAddress } from "../../../constants/cdn";
Expand Down Expand Up @@ -47,13 +47,13 @@ export function PlanetCard ({ activeTab, planetId }) {
error,
} = useLazyMint(contract);

function showNftMetadataUri (planet) {
const { contract } = useContract(`{planet?.contract}`);
const { data, isLoading } = useContractRead( contract, "uri", `{planet?.tokenId}`)
if ( data ) {
setPlanetUri( data );
}
}
// function showNftMetadataUri (planet) {
// const { contract } = useContract(`{planet?.contract}`);
// const { data, isLoading } = useContractRead( contract, "uri", `{planet?.tokenId}`)
// if ( data ) {
// setPlanetUri( data );
// }
// }

const updatePlayerReputation = async () => {
let newReputation = playerReputation + 1;
Expand Down
49 changes: 0 additions & 49 deletions components/Gameplay/Stake/ApproxRewards.tsx

This file was deleted.

75 changes: 0 additions & 75 deletions components/Gameplay/Stake/CurrentGear.tsx

This file was deleted.

30 changes: 0 additions & 30 deletions components/Gameplay/Stake/GameplayAnimation.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions components/Gameplay/Stake/LoadingSection.tsx

This file was deleted.

32 changes: 0 additions & 32 deletions components/Gameplay/Stake/MintContainer.tsx

This file was deleted.

66 changes: 0 additions & 66 deletions components/Gameplay/Stake/OwnedGear.tsx

This file was deleted.

50 changes: 0 additions & 50 deletions components/Gameplay/Stake/Rewards.tsx

This file was deleted.

26 changes: 0 additions & 26 deletions components/Gameplay/Stake/Shop.tsx

This file was deleted.

Loading

0 comments on commit 00d5af8

Please sign in to comment.