Skip to content

Commit

Permalink
fix name for focus tree
Browse files Browse the repository at this point in the history
  • Loading branch information
starknetdev committed Sep 10, 2024
1 parent 1a8f826 commit fe2620e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/hooks/useSyscalls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,12 @@ const useSyscalls = () => {
COLLECTION_WEAPON_MAP[
getKeyByValue(COLLECTION_TOKENS_MAP, token)
],
stringToFelt(`${alt} #${freeGame?.tokenId}`).toString(),
token ===
"0x0377c2d65debb3978ea81904e7d59740da1f07412e30d01c5ded1c5d6f1ddc43"
? stringToFelt(
`${alt} #${freeGame?.tokenId.toString().slice(0, 5)}`
).toString()
: stringToFelt(`${alt} #${freeGame?.tokenId}`).toString(),
"0",
"1",
indexAddress(token),
Expand Down

0 comments on commit fe2620e

Please sign in to comment.