Skip to content

Commit

Permalink
Refactor this redundant 'await' on a non-promise.
Browse files Browse the repository at this point in the history
  • Loading branch information
marxeille committed Jul 4, 2024
1 parent fa33c09 commit 61bf9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mobile/src/screens/universal-swap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ export const UniversalSwapScreen: FunctionComponent = observer(() => {
}
},
});
await onFetchAmount([originalFromToken, originalToToken]);
onFetchAmount([originalFromToken, originalToToken]);
const tokens = getTokenInfos({
tokens: universalSwapStore.getAmount,
prices: appInitStore.getInitApp.prices,
Expand Down

0 comments on commit 61bf9f7

Please sign in to comment.