Skip to content

Commit

Permalink
fix: url bug (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
YohanTz authored Apr 25, 2024
1 parent 7d0eb9b commit 3c87456
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default function useEthereumNftDeposit() {

useEffect(() => {
if (depositTransactionHash !== undefined) {
void router.push(`lounge/${depositTransactionHash}?from=ethereum`);
void router.push(`/lounge/${depositTransactionHash}?from=ethereum`);
}
}, [depositTransactionHash, deselectAllNfts, router]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default function useTransferStarknetNfts() {
// await writeAsync();
const depositData = await starknetAccount?.execute(depositCalls);
if (depositData !== undefined) {
router.push(`lounge/${depositData.transaction_hash}`);
router.push(`/lounge/${depositData.transaction_hash}`);
setIsSigning(false);
}
} catch (error) {
Expand Down

0 comments on commit 3c87456

Please sign in to comment.