Skip to content

Commit 5891126

Browse files
committed
fixup! feat(suite-native): enable and discover account via trade
1 parent 80c3760 commit 5891126

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

suite-native/module-trading/src/hooks/__tests__/useReceiveAccountsListData.test.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ describe('useReceiveAccountsListData', () => {
5959
const renderUseReceiveAccountsListDataHook = async (
6060
initialSymbol: NetworkSymbol,
6161
initialSelectedAccount: undefined | Account,
62-
mode: ReceiveAccountsListMode,
62+
initialMode: ReceiveAccountsListMode,
6363
preloadedState: PreloadedState = defaultPreloadedState,
6464
) => {
6565
const ret = renderHook(
66-
({ symbol, selectedAccount }) =>
66+
({ symbol, selectedAccount, mode }) =>
6767
useReceiveAccountsListData({ symbol, selectedAccount, mode }),
6868
{
6969
wrapper: ({ children }) => (
@@ -74,7 +74,7 @@ describe('useReceiveAccountsListData', () => {
7474
initialProps: {
7575
symbol: initialSymbol,
7676
selectedAccount: initialSelectedAccount,
77-
mode: 'account',
77+
mode: initialMode,
7878
},
7979
},
8080
);

0 commit comments

Comments
 (0)