Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mcayuelas-ledger committed Oct 11, 2022
1 parent 3063bc7 commit 1c7e42f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions apps/ledger-live-mobile/src/screens/Swap/Form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ import {
flattenAccounts,
accountWithMandatoryTokens,
} from "@ledgerhq/live-common/account/index";
import { getSwapSelectableCurrencies } from "@ledgerhq/live-common/lib/exchange/swap/logic";
import { shallowAccountsSelector } from "../../../reducers/accounts";
import {
swapAcceptedProvidersSelector,
swapKYCSelector,
} from "../../../reducers/settings";
import { setSwapKYCStatus, setSwapSelectableCurrencies } from "../../../actions/settings";
import { getSwapSelectableCurrencies } from "@ledgerhq/live-common/lib/exchange/swap/logic";
import {
setSwapKYCStatus,
setSwapSelectableCurrencies,
} from "../../../actions/settings";
import {
providersSelector,
rateSelector,
Expand Down Expand Up @@ -60,9 +63,11 @@ export const useProviders = () => {

useEffect(() => {
if (providers) {
dispatch(updateProvidersAction(providers))
dispatch(setSwapSelectableCurrencies(getSwapSelectableCurrencies(providers)))
};
dispatch(updateProvidersAction(providers));
dispatch(
setSwapSelectableCurrencies(getSwapSelectableCurrencies(providers)),
);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [providers]);

Expand Down

0 comments on commit 1c7e42f

Please sign in to comment.