Skip to content

Commit ac14c5e

Browse files
committed
mint free game fix
1 parent 8752573 commit ac14c5e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

client/src/contexts/gameContext.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { CairoOption, CairoOptionVariant, CallData } from "starknet";
88
import { getContractByName } from "@dojoengine/core";
99
import { useDynamicConnector } from "./starknet";
1010
import { stringToFelt } from "../helpers/utilities";
11+
import { useStarknetApi } from "../api/starknet";
1112

1213
export const GameContext = createContext()
1314

@@ -29,6 +30,7 @@ export const GameProvider = ({ children }) => {
2930
const dojo = useContext(DojoContext)
3031
const { enqueueSnackbar } = useSnackbar()
3132
const { getSettings, getCardDetails, getRecommendedSettings } = useIndexer()
33+
const { getTokenMetadata } = useStarknetApi()
3234

3335
const [loading, setLoading] = useState(true)
3436
const [loadingProgress, setLoadingProgress] = useState(0)

0 commit comments

Comments
 (0)