Skip to content

Commit

Permalink
fix: convert hex address to decimal to support new backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Th0rgal committed Sep 18, 2023
1 parent 358e925 commit 47c185d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/[addressOrDomain].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const AddressOrDomain: NextPage = () => {
...data,
starknet_id: id.toString(),
});
if (hexToDecimal(address) === data.addr) setIsOwner(true);
if (hexToDecimal(address) === hexToDecimal(data.addr)) setIsOwner(true);
setInitProfile(true);
});
})
Expand Down

0 comments on commit 47c185d

Please sign in to comment.