From 33664e96522cde0171adcb7a7cce72b73b57c6d6 Mon Sep 17 00:00:00 2001 From: Zachary Thielemann Date: Wed, 27 Jan 2021 18:47:13 -0800 Subject: [PATCH] fix(router): trigger reload --- src/pages/liquidity/index.tsx | 2 ++ src/pages/markets/[...id].tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/pages/liquidity/index.tsx b/src/pages/liquidity/index.tsx index babe3499..bca8686e 100644 --- a/src/pages/liquidity/index.tsx +++ b/src/pages/liquidity/index.tsx @@ -124,6 +124,8 @@ const Liquidity = ({ icons }) => { if (!options.loading) { clear(0) setLoading() + } else { + router.reload() } } if (ethereum?.on) { diff --git a/src/pages/markets/[...id].tsx b/src/pages/markets/[...id].tsx index 2582dfa1..15c78f2a 100644 --- a/src/pages/markets/[...id].tsx +++ b/src/pages/markets/[...id].tsx @@ -94,6 +94,8 @@ const Market = ({ market, data }) => { if (!options.loading) { clear(0) setLoading() + } else { + router.reload() } } if (ethereum?.on) {