Skip to content

Commit

Permalink
style(swap): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-haynes committed Apr 21, 2022
1 parent 97e6383 commit 5856c62
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import SwapPage from './views/SwapPage';

const { fetchTokens } = tokensActions;


export const VIEWS_SWAP = {
MAIN: 'main',
SUCCESS: 'success'
Expand Down Expand Up @@ -117,7 +116,7 @@ const SwapAndSuccessContainer = ({
return () => dispatch(handleSwapByContractName(''));
}, [dispatch]);

const onHandleSBackToSwap = useCallback(async () => {
const onHandleBackToSwap = useCallback(async () => {
await dispatch(refreshAccount());
await dispatch(fetchTokens({ accountId }));
setActiveView('main');
Expand Down Expand Up @@ -155,7 +154,7 @@ const SwapAndSuccessContainer = ({
multiplier={multiplier}
handleBackToSwap={async () => {
setInputValueFrom(0);
await onHandleSBackToSwap();
await onHandleBackToSwap();
}}
/>
)}
Expand Down

0 comments on commit 5856c62

Please sign in to comment.