We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feff19a commit 952b5f7Copy full SHA for 952b5f7
src/modules/reserve-overview/ReserveTopDetailsWrapper.tsx
@@ -111,7 +111,7 @@ export const ReserveTopDetailsWrapper = ({ underlyingAsset }: ReserveTopDetailsP
111
}
112
onClick={() => {
113
// https://github.com/vercel/next.js/discussions/34980
114
- if (history.state.idx !== 0) router.back();
+ if (!!history.state.idx) router.back();
115
else router.push('/markets');
116
}}
117
sx={{ mr: 3, mb: downToSM ? '24px' : '0' }}
0 commit comments