From 2586f44b2e95f6c999addf712e738dc60541e208 Mon Sep 17 00:00:00 2001 From: artemkolodko Date: Wed, 16 Aug 2023 20:01:38 +0100 Subject: [PATCH] Fix nft url params --- src/pages/InventoryDetailsPage/InventoryDetailsPage.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/InventoryDetailsPage/InventoryDetailsPage.tsx b/src/pages/InventoryDetailsPage/InventoryDetailsPage.tsx index 1a207d9..3d8a50b 100644 --- a/src/pages/InventoryDetailsPage/InventoryDetailsPage.tsx +++ b/src/pages/InventoryDetailsPage/InventoryDetailsPage.tsx @@ -294,11 +294,13 @@ export function InventoryDetailsPage() { const [inventory, setInventory] = useState({} as any); const [isLoading, setIsLoading] = useState(false) - const { + let { address = '', tokenID = '', type = '' }: { address: string, tokenID: string, type: string } = useParams(); + address = address.toLowerCase() + tokenID = tokenID.toLowerCase() const token721 = erc721Map[address] const token1155 = erc1155Map[address]