Skip to content

Commit

Permalink
fix(router): trigger reload
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdt committed Jan 28, 2021
1 parent 9833c51 commit 33664e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/liquidity/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ const Liquidity = ({ icons }) => {
if (!options.loading) {
clear(0)
setLoading()
} else {
router.reload()
}
}
if (ethereum?.on) {
Expand Down
2 changes: 2 additions & 0 deletions src/pages/markets/[...id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ const Market = ({ market, data }) => {
if (!options.loading) {
clear(0)
setLoading()
} else {
router.reload()
}
}
if (ethereum?.on) {
Expand Down

0 comments on commit 33664e9

Please sign in to comment.