Skip to content

Commit

Permalink
Fix history error (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecande11 authored Feb 21, 2022
1 parent ded06bb commit 6c5d887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/screens/TabWallet/History.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ const History = ({ user }: { user: User } & Props): ReactElement => {

return loading ? (
<Loading />
) : error ? (
// @ts-expect-error
) : error && !(error.response && error.response.status === 500) ? (
<ErrorComponent />
) : walletTabUi ? (
<RenderList ui={walletTabUi} />
Expand Down

0 comments on commit 6c5d887

Please sign in to comment.