Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed Jun 7, 2024
1 parent f6731bc commit e7f4c92
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/components/Fuelnaut/FuelnautCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,9 @@ import ShowFuelnautLevels from './ShowFuelnautLevels';
export function FuelnautCards() {
const { isConnected } = useIsConnected();
const { network } = useNetwork();


const { wallet } = useWallet();
console.log("isConnected", isConnected)
console.log("wallet", wallet)
console.log("network", network)

const contract = useMemo(() => {
console.log("CALCULATING CONTRACT MEMO")
if (wallet && isConnected && FUELNAUT_CONTRACT_ID) {
const contract = FuelnautAbi__factory.connect(
FUELNAUT_CONTRACT_ID,
Expand All @@ -29,12 +23,10 @@ export function FuelnautCards() {
return null;
}, [wallet, isConnected, FUELNAUT_CONTRACT_ID]);

console.log("CONTRACT:", contract)

const isProdOrPreview =
VERCEL_ENV === 'production' || VERCEL_ENV === 'preview';

const testnetNetwork = 'https://beta-5.fuel.network/graphql';
const testnetNetwork = 'https://testnet.fuel.network/v1/graphql';

return (
<Box.Flex>
Expand Down

0 comments on commit e7f4c92

Please sign in to comment.