Skip to content

Commit

Permalink
Fix routing for /curve link.
Browse files Browse the repository at this point in the history
Signed-off-by: antonnell <[email protected]>
  • Loading branch information
antonnell committed Aug 6, 2021
1 parent 0c157f5 commit 8075a1f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/asset/[address]/curve/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ function Asset({ changeTheme }) {
};
}, []);

useEffect(function () {
//set asset
const ass = stores.fixedForexStore.getAsset(router.query.address)
setAsset(ass)
}, [router.query.address])

return (
<Layout changeTheme={changeTheme}>
<Head>
Expand Down

0 comments on commit 8075a1f

Please sign in to comment.