diff --git a/libs/ui/src/components/navigation-bar/components/tab-bar-button/tab-bar-button.tsx b/libs/ui/src/components/navigation-bar/components/tab-bar-button/tab-bar-button.tsx index 0c9d8160e..2ff73e7d8 100644 --- a/libs/ui/src/components/navigation-bar/components/tab-bar-button/tab-bar-button.tsx +++ b/libs/ui/src/components/navigation-bar/components/tab-bar-button/tab-bar-button.tsx @@ -2,7 +2,7 @@ import { emptyFn, OnEventFn } from '@rnw-community/shared'; import React, { FC } from 'react'; import { TouchableOpacity } from 'react-native'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { TestIDProps } from '../../../../interfaces/test-id.props'; import { colors } from '../../../../styles/colors'; diff --git a/libs/ui/src/components/navigation-bar/navigation-bar.tsx b/libs/ui/src/components/navigation-bar/navigation-bar.tsx index 14e8aee38..28f74af5f 100644 --- a/libs/ui/src/components/navigation-bar/navigation-bar.tsx +++ b/libs/ui/src/components/navigation-bar/navigation-bar.tsx @@ -8,7 +8,7 @@ import { settingsStackScreens, swapStackScreens, walletStackScreens -} from '../../enums/sreens.enum'; +} from '../../enums/screens.enum'; import { useShowSwapDisabledToast } from '../../hooks/use-show-swap-disabled-toast'; import { useSwapSupported } from '../../hooks/use-swap-supported.hook'; import { IconNameEnum } from '../icon/icon-name.enum'; diff --git a/libs/ui/src/components/navigator/components/header-close-button/header-close-button.tsx b/libs/ui/src/components/navigator/components/header-close-button/header-close-button.tsx index 0e8763e84..592f460a9 100644 --- a/libs/ui/src/components/navigator/components/header-close-button/header-close-button.tsx +++ b/libs/ui/src/components/navigator/components/header-close-button/header-close-button.tsx @@ -2,7 +2,7 @@ import { RouteProp, useRoute } from '@react-navigation/native'; import { isDefined, OnEventFn } from '@rnw-community/shared'; import React, { FC } from 'react'; -import { ScreensEnum, ScreensParamList } from '../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { IconNameEnum } from '../../../icon/icon-name.enum'; import { TouchableIcon } from '../../../touchable-icon/touchable-icon'; diff --git a/libs/ui/src/components/navigator/components/header-title/header-title.tsx b/libs/ui/src/components/navigator/components/header-title/header-title.tsx index 4dee7f2b3..fd84fc314 100644 --- a/libs/ui/src/components/navigator/components/header-title/header-title.tsx +++ b/libs/ui/src/components/navigator/components/header-title/header-title.tsx @@ -3,7 +3,7 @@ import { OnEventFn } from '@rnw-community/shared'; import React, { FC } from 'react'; import { View, Pressable } from 'react-native'; -import { ScreensParamList } from '../../../../enums/sreens.enum'; +import { ScreensParamList } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { TestIDProps } from '../../../../interfaces/test-id.props'; import { Row } from '../../../row/row'; diff --git a/libs/ui/src/components/navigator/hooks/use-active-token-list.hook.ts b/libs/ui/src/components/navigator/hooks/use-active-token-list.hook.ts index 20e03f9f2..cb73680df 100644 --- a/libs/ui/src/components/navigator/hooks/use-active-token-list.hook.ts +++ b/libs/ui/src/components/navigator/hooks/use-active-token-list.hook.ts @@ -3,7 +3,7 @@ import { useDispatch } from 'react-redux'; import { getDebankId } from '../../../api/debank/utils/get-debank-id.util'; import { DATA_UPDATE_TIME } from '../../../constants/update-time'; -import { ScreensEnum } from '../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../enums/screens.enum'; import { useCurrentRoute } from '../../../hooks/use-current-route.hook'; import { useTimerEffect } from '../../../hooks/use-timer-effect.hook'; import { getAllUserTokensAction } from '../../../store/wallet/wallet.actions'; diff --git a/libs/ui/src/components/navigator/hooks/use-navigation-from-sensetive-screens.hook.ts b/libs/ui/src/components/navigator/hooks/use-navigation-from-sensetive-screens.hook.ts index 2628671f3..66c5f9ef0 100644 --- a/libs/ui/src/components/navigator/hooks/use-navigation-from-sensetive-screens.hook.ts +++ b/libs/ui/src/components/navigator/hooks/use-navigation-from-sensetive-screens.hook.ts @@ -1,4 +1,4 @@ -import { ScreensEnum } from '../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; const sensitiveRoutes = [ScreensEnum.RevealPrivateKey, ScreensEnum.RevealSeedPhrase]; diff --git a/libs/ui/src/components/navigator/navigator.tsx b/libs/ui/src/components/navigator/navigator.tsx index 665609c88..486bc0faa 100644 --- a/libs/ui/src/components/navigator/navigator.tsx +++ b/libs/ui/src/components/navigator/navigator.tsx @@ -1,7 +1,7 @@ import { NavigationContainer, NavigationContainerRef, DarkTheme } from '@react-navigation/native'; import React, { FC, createRef } from 'react'; -import { ScreensEnum, ScreensParamList } from '../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../enums/screens.enum'; import { useAppLockTimer } from '../../hooks/use-app-lock-timer.hook'; import { useLockApp } from '../../hooks/use-lock-app.hook'; import { usePersistedNavigationState } from '../../hooks/use-persisted-navigation-state.hook'; diff --git a/libs/ui/src/components/navigator/utils/get-stack-navigator.native.ts b/libs/ui/src/components/navigator/utils/get-stack-navigator.native.ts index c1eafad1d..5b277eb5a 100644 --- a/libs/ui/src/components/navigator/utils/get-stack-navigator.native.ts +++ b/libs/ui/src/components/navigator/utils/get-stack-navigator.native.ts @@ -1,5 +1,5 @@ import { createStackNavigator } from '@react-navigation/stack'; -import { ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensParamList } from '../../../enums/screens.enum'; export const Stack = createStackNavigator(); diff --git a/libs/ui/src/components/navigator/utils/get-stack-navigator.ts b/libs/ui/src/components/navigator/utils/get-stack-navigator.ts index a7d20b5c0..d2a68095e 100644 --- a/libs/ui/src/components/navigator/utils/get-stack-navigator.ts +++ b/libs/ui/src/components/navigator/utils/get-stack-navigator.ts @@ -1,5 +1,5 @@ import { createNativeStackNavigator } from '@react-navigation/native-stack'; -import { ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensParamList } from '../../../enums/screens.enum'; export const Stack = createNativeStackNavigator(); diff --git a/libs/ui/src/components/screen-components/header-container/components/header-selectors/header-selectors.tsx b/libs/ui/src/components/screen-components/header-container/components/header-selectors/header-selectors.tsx index bfbec503b..dc9521c6c 100644 --- a/libs/ui/src/components/screen-components/header-container/components/header-selectors/header-selectors.tsx +++ b/libs/ui/src/components/screen-components/header-container/components/header-selectors/header-selectors.tsx @@ -1,7 +1,7 @@ import React, { FC } from 'react'; import { TouchableOpacity, View } from 'react-native'; -import { ScreensEnum } from '../../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../../enums/screens.enum'; import { useNavigation } from '../../../../../hooks/use-navigation.hook'; import { useSelectedAccountPublicKeyHashSelector, diff --git a/libs/ui/src/components/wallet-creation-container/wallet-creation-container.tsx b/libs/ui/src/components/wallet-creation-container/wallet-creation-container.tsx index 1b22ffb57..f28d6fd7e 100644 --- a/libs/ui/src/components/wallet-creation-container/wallet-creation-container.tsx +++ b/libs/ui/src/components/wallet-creation-container/wallet-creation-container.tsx @@ -1,7 +1,7 @@ import React, { FC, PropsWithChildren, RefObject } from 'react'; import { ScrollView } from 'react-native'; -import { ScreensEnum } from '../../enums/sreens.enum'; +import { ScreensEnum } from '../../enums/screens.enum'; import { useNavigation } from '../../hooks/use-navigation.hook'; import { FooterNavigationButtons, diff --git a/libs/ui/src/enums/sreens.enum.ts b/libs/ui/src/enums/screens.enum.ts similarity index 100% rename from libs/ui/src/enums/sreens.enum.ts rename to libs/ui/src/enums/screens.enum.ts diff --git a/libs/ui/src/hooks/use-import-seed-phrase.hook.ts b/libs/ui/src/hooks/use-import-seed-phrase.hook.ts index 46e4ef59b..192ad62ea 100644 --- a/libs/ui/src/hooks/use-import-seed-phrase.hook.ts +++ b/libs/ui/src/hooks/use-import-seed-phrase.hook.ts @@ -7,7 +7,7 @@ import { TextInput } from 'react-native-gesture-handler'; import { SECURITY_TIME } from '../constants/defaults'; import { allMnemonicLengthValue, maxWordsLength, SeedWordsAmount, words } from '../constants/seed-words-amount'; -import { ScreensEnum } from '../enums/sreens.enum'; +import { ScreensEnum } from '../enums/screens.enum'; import { handleSetValueToClipboard } from '../utils/copy-to-clipboard.util'; import { useNavigation } from './use-navigation.hook'; diff --git a/libs/ui/src/hooks/use-lock-app.hook.ts b/libs/ui/src/hooks/use-lock-app.hook.ts index 5ef6f7abc..7d99f3efd 100644 --- a/libs/ui/src/hooks/use-lock-app.hook.ts +++ b/libs/ui/src/hooks/use-lock-app.hook.ts @@ -1,7 +1,7 @@ import { useEffect } from 'react'; import { globalNavigationRef } from '../components/navigator/navigator'; -import { ScreensEnum } from '../enums/sreens.enum'; +import { ScreensEnum } from '../enums/screens.enum'; import { useIsAuthorisedSelector } from '../store/wallet/wallet.selectors'; import { useUnlock } from './use-unlock.hook'; diff --git a/libs/ui/src/hooks/use-navigation.hook.ts b/libs/ui/src/hooks/use-navigation.hook.ts index 36fbbb354..1c7462d11 100644 --- a/libs/ui/src/hooks/use-navigation.hook.ts +++ b/libs/ui/src/hooks/use-navigation.hook.ts @@ -1,6 +1,6 @@ import { useNavigation as useUntypedNavigation } from '@react-navigation/native'; import type { NativeStackNavigationProp } from '@react-navigation/native-stack'; -import { ScreensParamList } from '../enums/sreens.enum'; +import { ScreensParamList } from '../enums/screens.enum'; export const useNavigation = () => useUntypedNavigation>(); diff --git a/libs/ui/src/hooks/use-persisted-navigation-state.hook.ts b/libs/ui/src/hooks/use-persisted-navigation-state.hook.ts index 80e22c290..a90877437 100644 --- a/libs/ui/src/hooks/use-persisted-navigation-state.hook.ts +++ b/libs/ui/src/hooks/use-persisted-navigation-state.hook.ts @@ -4,7 +4,7 @@ import { parse } from 'query-string'; import { useCallback, useEffect, useMemo, useState } from 'react'; import { isWeb, getStoredValue, setStoredValue } from 'shared'; -import { ScreensEnum } from '../enums/sreens.enum'; +import { ScreensEnum } from '../enums/screens.enum'; import { Mutable } from '../types/mutable.type'; import { createNavigationRoute } from '../utils/navigation.utils'; diff --git a/libs/ui/src/hooks/use-previous-screen-name.hook.ts b/libs/ui/src/hooks/use-previous-screen-name.hook.ts index 03c7ef26a..685e1e839 100644 --- a/libs/ui/src/hooks/use-previous-screen-name.hook.ts +++ b/libs/ui/src/hooks/use-previous-screen-name.hook.ts @@ -1,6 +1,6 @@ import { useNavigationState } from '@react-navigation/native'; -import { ScreensEnum } from '../enums/sreens.enum'; +import { ScreensEnum } from '../enums/screens.enum'; export const usePreviousScreenName = () => { const routes = useNavigationState(state => state.routes); diff --git a/libs/ui/src/hooks/use-redirect-to-full-page.hook.ts b/libs/ui/src/hooks/use-redirect-to-full-page.hook.ts index 3be970af0..793a741cc 100644 --- a/libs/ui/src/hooks/use-redirect-to-full-page.hook.ts +++ b/libs/ui/src/hooks/use-redirect-to-full-page.hook.ts @@ -1,7 +1,7 @@ import { isDefined } from '@rnw-community/shared'; import { useEffect } from 'react'; -import { ScreensEnum } from '../enums/sreens.enum'; +import { ScreensEnum } from '../enums/screens.enum'; import { isPopup } from '../utils/location.utils'; import { openFullViewPage } from '../utils/open-maximise-screen.util'; diff --git a/libs/ui/src/modals/screens/accounts-selector/accounts-selector.tsx b/libs/ui/src/modals/screens/accounts-selector/accounts-selector.tsx index 6670ed01e..6e45efc79 100644 --- a/libs/ui/src/modals/screens/accounts-selector/accounts-selector.tsx +++ b/libs/ui/src/modals/screens/accounts-selector/accounts-selector.tsx @@ -2,7 +2,7 @@ import React, { FC } from 'react'; import { useDispatch } from 'react-redux'; import { AccountInterface } from 'shared'; -import { ScreensEnum } from '../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { useCreateHdAccountForNewNetworkType } from '../../../shelter/hooks/use-create-hd-account-for-new-network-type.hook'; import { changeAccountAction } from '../../../store/wallet/wallet.actions'; diff --git a/libs/ui/src/modals/screens/accounts-selector/components/accounts-list.tsx b/libs/ui/src/modals/screens/accounts-selector/components/accounts-list.tsx index ca1bdf54a..bfd3a1d41 100644 --- a/libs/ui/src/modals/screens/accounts-selector/components/accounts-list.tsx +++ b/libs/ui/src/modals/screens/accounts-selector/components/accounts-list.tsx @@ -7,7 +7,7 @@ import { AccountType } from '../../../../components/account-type/account-type'; import { CopyText } from '../../../../components/copy-text/copy-text'; import { RobotIcon } from '../../../../components/robot-icon/robot-icon'; import { Selector } from '../../../../components/selector/selector'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useFiatTotalBalance } from '../../../../hooks/use-fiat-total-balance.hook'; import { useFilteredAccounts } from '../../../../hooks/use-filtered-accounts.hook'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; diff --git a/libs/ui/src/modals/screens/activity-filter-selector/activity-filter-selector.tsx b/libs/ui/src/modals/screens/activity-filter-selector/activity-filter-selector.tsx index 1fb25a013..4e877cbfb 100644 --- a/libs/ui/src/modals/screens/activity-filter-selector/activity-filter-selector.tsx +++ b/libs/ui/src/modals/screens/activity-filter-selector/activity-filter-selector.tsx @@ -3,7 +3,7 @@ import React, { FC } from 'react'; import { Dropdown } from '../../../components/dropdown/dropdown'; import { Option } from '../../../components/dropdown/option.interface'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { ModalContainer } from '../../components/modal-container/modal-container'; diff --git a/libs/ui/src/modals/screens/add-account/add-account.tsx b/libs/ui/src/modals/screens/add-account/add-account.tsx index a454d52f5..6fedd7646 100644 --- a/libs/ui/src/modals/screens/add-account/add-account.tsx +++ b/libs/ui/src/modals/screens/add-account/add-account.tsx @@ -2,7 +2,7 @@ import { RouteProp, useRoute } from '@react-navigation/native'; import React, { FC } from 'react'; import { Tabs } from '../../../components/tabs/tabs'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { ModalTabContainer } from '../../components/modal-tab-container/modal-tab-container'; diff --git a/libs/ui/src/modals/screens/add-account/components/create-hd/create-hd.tsx b/libs/ui/src/modals/screens/add-account/components/create-hd/create-hd.tsx index 1fc25d672..5229fc9a5 100644 --- a/libs/ui/src/modals/screens/add-account/components/create-hd/create-hd.tsx +++ b/libs/ui/src/modals/screens/add-account/components/create-hd/create-hd.tsx @@ -3,7 +3,7 @@ import { Controller } from 'react-hook-form'; import { Column } from '../../../../../components/column/column'; import { TextInput } from '../../../../../components/text-input/text-input'; -import { ScreensEnum } from '../../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../../enums/screens.enum'; import { useNavigation } from '../../../../../hooks/use-navigation.hook'; import { useCreateHdAccount } from '../../../../../shelter/hooks/use-create-hd-account.hook'; import { ModalFooterButtons } from '../../../../components/modal-footer-buttons/modal-footer-buttons'; diff --git a/libs/ui/src/modals/screens/add-account/components/seed-phrase/seed-phrase.tsx b/libs/ui/src/modals/screens/add-account/components/seed-phrase/seed-phrase.tsx index 022210225..b62edaa78 100644 --- a/libs/ui/src/modals/screens/add-account/components/seed-phrase/seed-phrase.tsx +++ b/libs/ui/src/modals/screens/add-account/components/seed-phrase/seed-phrase.tsx @@ -15,7 +15,7 @@ import { Pressable } from '../../../../../components/pressable/pressable'; import { Row } from '../../../../../components/row/row'; import { Text } from '../../../../../components/text/text'; import { TextInput as CustomTextInput } from '../../../../../components/text-input/text-input'; -import { ScreensEnum, ScreensParamList } from '../../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../../enums/screens.enum'; import { useImportSeedPhrase } from '../../../../../hooks/use-import-seed-phrase.hook'; import { useNavigation } from '../../../../../hooks/use-navigation.hook'; import { useCreateImportedAccount } from '../../../../../shelter/hooks/use-create-imported-account.hook'; diff --git a/libs/ui/src/modals/screens/collectible/collectible.tsx b/libs/ui/src/modals/screens/collectible/collectible.tsx index 17dc27cf6..fdac9f35e 100644 --- a/libs/ui/src/modals/screens/collectible/collectible.tsx +++ b/libs/ui/src/modals/screens/collectible/collectible.tsx @@ -12,7 +12,7 @@ import { CopyText } from '../../../components/copy-text/copy-text'; import { Icon } from '../../../components/icon/icon'; import { IconNameEnum } from '../../../components/icon/icon-name.enum'; import { InfoItem } from '../../../components/info-item/info-item'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { useToast } from '../../../hooks/use-toast.hook'; import { loadAccountTokenBalanceAction, deleteCollectibleAction } from '../../../store/wallet/wallet.actions'; diff --git a/libs/ui/src/modals/screens/confirm-access/confirm-access.tsx b/libs/ui/src/modals/screens/confirm-access/confirm-access.tsx index 322f4aba6..b1eeaf555 100644 --- a/libs/ui/src/modals/screens/confirm-access/confirm-access.tsx +++ b/libs/ui/src/modals/screens/confirm-access/confirm-access.tsx @@ -9,7 +9,7 @@ import { IconNameEnum } from '../../../components/icon/icon-name.enum'; import { Row } from '../../../components/row/row'; import { PasswordInput } from '../../../components/text-input/components/password-input/password-input'; import { requiredFieldError } from '../../../constants/form-errors'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useConfirmAccess } from '../../../hooks/use-confirm-access.hook'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { useBiometricEnabledSelector } from '../../../store/settings/settings.selectors'; diff --git a/libs/ui/src/modals/screens/d-app-connection-confirmation/d-app-connection-confirmation.tsx b/libs/ui/src/modals/screens/d-app-connection-confirmation/d-app-connection-confirmation.tsx index ba115a9ef..3c26d0478 100644 --- a/libs/ui/src/modals/screens/d-app-connection-confirmation/d-app-connection-confirmation.tsx +++ b/libs/ui/src/modals/screens/d-app-connection-confirmation/d-app-connection-confirmation.tsx @@ -14,7 +14,7 @@ import { IconWithBorder } from '../../../components/icon-with-border/icon-with-b import { RobotIcon } from '../../../components/robot-icon/robot-icon'; import { Row } from '../../../components/row/row'; import { Text } from '../../../components/text/text'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useClosePopup } from '../../../hooks/use-close-popup'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { AllowsRules } from '../../../interfaces/dapp-connection.interface'; diff --git a/libs/ui/src/modals/screens/d-app-sign-confirmation/d-app-sign-confirmation.tsx b/libs/ui/src/modals/screens/d-app-sign-confirmation/d-app-sign-confirmation.tsx index 2c82eaf3c..51d3e57fd 100644 --- a/libs/ui/src/modals/screens/d-app-sign-confirmation/d-app-sign-confirmation.tsx +++ b/libs/ui/src/modals/screens/d-app-sign-confirmation/d-app-sign-confirmation.tsx @@ -2,7 +2,7 @@ import { RouteProp, useRoute } from '@react-navigation/native'; import React, { FC } from 'react'; import { InfoBox } from '../../../components/info-box/info-box'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useClosePopup } from '../../../hooks/use-close-popup'; import { FromAccount } from '../../../screens/send-confirmation/components/confirmation/components/from-account/from-account'; import { SelectedNetwork } from '../../../screens/send-confirmation/components/confirmation/components/selected-network/selected-network'; diff --git a/libs/ui/src/modals/screens/d-app-transaction-confirmation/d-app-transaction-confirmation.tsx b/libs/ui/src/modals/screens/d-app-transaction-confirmation/d-app-transaction-confirmation.tsx index 3ffe81383..bdef5388a 100644 --- a/libs/ui/src/modals/screens/d-app-transaction-confirmation/d-app-transaction-confirmation.tsx +++ b/libs/ui/src/modals/screens/d-app-transaction-confirmation/d-app-transaction-confirmation.tsx @@ -4,7 +4,7 @@ import { ethers } from 'ethers'; import React, { FC, useMemo } from 'react'; import { FLOAT_ZERO_STRING } from '../../../constants/defaults'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useClosePopup } from '../../../hooks/use-close-popup'; import { EvmConfirmation } from '../../../screens/send-confirmation/components/evm-confirmation/evm-confirmation'; import { EMPTY_GAS } from '../../../screens/send-confirmation/constants'; diff --git a/libs/ui/src/modals/screens/delete-d-app/delete-d-app.tsx b/libs/ui/src/modals/screens/delete-d-app/delete-d-app.tsx index c8e9bfca4..42c000249 100644 --- a/libs/ui/src/modals/screens/delete-d-app/delete-d-app.tsx +++ b/libs/ui/src/modals/screens/delete-d-app/delete-d-app.tsx @@ -6,7 +6,7 @@ import { useDispatch } from 'react-redux'; import { Icon } from '../../../components/icon/icon'; import { IconNameEnum } from '../../../components/icon/icon-name.enum'; import { Text } from '../../../components/text/text'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { removeDAppConnectionAction } from '../../../store/d-apps/d-apps.actions'; import { useDAppSelector } from '../../../store/d-apps/d-apps.selectors'; diff --git a/libs/ui/src/modals/screens/edit-account-name/edit-account-name.tsx b/libs/ui/src/modals/screens/edit-account-name/edit-account-name.tsx index b26e27cc7..52b19198f 100644 --- a/libs/ui/src/modals/screens/edit-account-name/edit-account-name.tsx +++ b/libs/ui/src/modals/screens/edit-account-name/edit-account-name.tsx @@ -4,7 +4,7 @@ import { useForm, Controller } from 'react-hook-form'; import { useDispatch } from 'react-redux'; import { TextInput } from '../../../components/text-input/text-input'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { editAccountNameAction } from '../../../store/wallet/wallet.actions'; import { ModalActionsContainer } from '../../components/modal-actions-container/modal-actions-container'; diff --git a/libs/ui/src/modals/screens/edit-permission/edit-permission.tsx b/libs/ui/src/modals/screens/edit-permission/edit-permission.tsx index 83db51812..b5ca14e9c 100644 --- a/libs/ui/src/modals/screens/edit-permission/edit-permission.tsx +++ b/libs/ui/src/modals/screens/edit-permission/edit-permission.tsx @@ -14,7 +14,7 @@ import { IconNameEnum } from '../../../components/icon/icon-name.enum'; import { InfoBox } from '../../../components/info-box/info-box'; import { Row } from '../../../components/row/row'; import { Text } from '../../../components/text/text'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { useScrollToOffset } from '../../../hooks/use-scroll-to-element.hook'; import { useTokenFiatBalance } from '../../../hooks/use-token-fiat-balance.hook'; diff --git a/libs/ui/src/modals/screens/network-change-confirmation/network-change-confirmation.tsx b/libs/ui/src/modals/screens/network-change-confirmation/network-change-confirmation.tsx index 00ba08a67..deff305a8 100644 --- a/libs/ui/src/modals/screens/network-change-confirmation/network-change-confirmation.tsx +++ b/libs/ui/src/modals/screens/network-change-confirmation/network-change-confirmation.tsx @@ -12,7 +12,7 @@ import { IconNameEnum } from '../../../components/icon/icon-name.enum'; import { IconWithBorderEnum } from '../../../components/icon-with-border/enums'; import { Row } from '../../../components/row/row'; import { Text } from '../../../components/text/text'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useClosePopup } from '../../../hooks/use-close-popup'; import { AllowsRules } from '../../../interfaces/dapp-connection.interface'; import { useDAppSelector } from '../../../store/d-apps/d-apps.selectors'; diff --git a/libs/ui/src/modals/screens/network/add-network/add-network.tsx b/libs/ui/src/modals/screens/network/add-network/add-network.tsx index 932e4afee..9e2eaa90e 100644 --- a/libs/ui/src/modals/screens/network/add-network/add-network.tsx +++ b/libs/ui/src/modals/screens/network/add-network/add-network.tsx @@ -8,7 +8,7 @@ import { NetworkTypeEnum } from 'shared'; import { CHAINS_JSON, DEBOUNCE_TIME } from '../../../../constants/defaults'; import { httpsRegx } from '../../../../constants/regex-validation'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { useToast } from '../../../../hooks/use-toast.hook'; import { NetworkInterface } from '../../../../interfaces/network.interface'; diff --git a/libs/ui/src/modals/screens/network/edit-network/edit-network.tsx b/libs/ui/src/modals/screens/network/edit-network/edit-network.tsx index 715369818..cfda4a2b0 100644 --- a/libs/ui/src/modals/screens/network/edit-network/edit-network.tsx +++ b/libs/ui/src/modals/screens/network/edit-network/edit-network.tsx @@ -9,7 +9,7 @@ import { ButtonWithIconSizeEnum } from '../../../../components/button-with-icon/ import { IconNameEnum } from '../../../../components/icon/icon-name.enum'; import { NETWORK_CHAIN_IDS_BY_NETWORK_TYPE } from '../../../../constants/networks'; import { MainnetRpcEnum } from '../../../../constants/rpc'; -import { ScreensEnum, ScreensParamList } from '../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { NetworkInterface } from '../../../../interfaces/network.interface'; import { useCreateHdAccountForNewNetworkType } from '../../../../shelter/hooks/use-create-hd-account-for-new-network-type.hook'; diff --git a/libs/ui/src/modals/screens/networks-selector/components/networks-list.tsx b/libs/ui/src/modals/screens/networks-selector/components/networks-list.tsx index 34d60811e..61db75563 100644 --- a/libs/ui/src/modals/screens/networks-selector/components/networks-list.tsx +++ b/libs/ui/src/modals/screens/networks-selector/components/networks-list.tsx @@ -7,7 +7,7 @@ import { IconNameEnum } from '../../../../components/icon/icon-name.enum'; import { Selector } from '../../../../components/selector/selector'; import { TouchableIcon } from '../../../../components/touchable-icon/touchable-icon'; import { EMPTY_STRING } from '../../../../constants/defaults'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { NetworkInterface } from '../../../../interfaces/network.interface'; import { useCreateHdAccountForNewNetworkType } from '../../../../shelter/hooks/use-create-hd-account-for-new-network-type.hook'; diff --git a/libs/ui/src/modals/screens/reveal-private-key/reveal-private-key.tsx b/libs/ui/src/modals/screens/reveal-private-key/reveal-private-key.tsx index bfec71751..7f1585c9a 100644 --- a/libs/ui/src/modals/screens/reveal-private-key/reveal-private-key.tsx +++ b/libs/ui/src/modals/screens/reveal-private-key/reveal-private-key.tsx @@ -7,7 +7,7 @@ import { Pressable } from '../../../components/pressable/pressable'; import { ProtectLayout } from '../../../components/protect-layout/protect-layout'; import { Text } from '../../../components/text/text'; import { SECURITY_TIME } from '../../../constants/defaults'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useRevealPrivateKey } from '../../../shelter/hooks/use-reveal-private-key.hook'; import { handleSetValueToClipboard } from '../../../utils/copy-to-clipboard.util'; import { ModalContainer } from '../../components/modal-container/modal-container'; diff --git a/libs/ui/src/modals/screens/slippage-settings/slippage-settings.tsx b/libs/ui/src/modals/screens/slippage-settings/slippage-settings.tsx index 0e3b450fb..f3939781a 100644 --- a/libs/ui/src/modals/screens/slippage-settings/slippage-settings.tsx +++ b/libs/ui/src/modals/screens/slippage-settings/slippage-settings.tsx @@ -7,7 +7,7 @@ import { Warning } from '../../../components/announcement/components/warning/war import { FragmentSelector } from '../../../components/fragment-selector/fragment-selector'; import { Text } from '../../../components/text/text'; import { TextInput } from '../../../components/text-input/text-input'; -import { ScreensEnum } from '../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { setSlippageToleranceAction } from '../../../store/swap/swap.actions'; import { useSlippageToleranceSelector } from '../../../store/swap/swap.selectors'; diff --git a/libs/ui/src/modals/screens/swap-route/hooks/use-get-route-tokens-metadata.ts b/libs/ui/src/modals/screens/swap-route/hooks/use-get-route-tokens-metadata.ts index 4d4130cc5..4c1aae79e 100644 --- a/libs/ui/src/modals/screens/swap-route/hooks/use-get-route-tokens-metadata.ts +++ b/libs/ui/src/modals/screens/swap-route/hooks/use-get-route-tokens-metadata.ts @@ -5,7 +5,7 @@ import { useDispatch } from 'react-redux'; import { ONE_INCH_GAS_TOKEN_ADDRESS } from '../../../../api/1inch/constants'; import { get1inchTokenAddress } from '../../../../api/1inch/utils/get-1inch-token-address.util'; -import { ScreensEnum, ScreensParamList } from '../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../enums/screens.enum'; import { TokenMetadata } from '../../../../interfaces/token-metadata.interface'; import { addNewTokensMetadataAction } from '../../../../store/wallet/wallet.actions'; import { useSelectedNetworkSelector, useTokensMetadataSelector } from '../../../../store/wallet/wallet.selectors'; diff --git a/libs/ui/src/modals/screens/swap-route/swap-route.tsx b/libs/ui/src/modals/screens/swap-route/swap-route.tsx index 3d7f43ee0..3ba101b28 100644 --- a/libs/ui/src/modals/screens/swap-route/swap-route.tsx +++ b/libs/ui/src/modals/screens/swap-route/swap-route.tsx @@ -7,7 +7,7 @@ import { Loader } from '../../../components/loader/loader'; import { Row } from '../../../components/row/row'; import { Text } from '../../../components/text/text'; import { Token } from '../../../components/token/token'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { getCustomSize } from '../../../styles/format-size'; import { ModalActionContainer } from '../../components/modal-action-container/modal-action-container'; diff --git a/libs/ui/src/modals/screens/tokens-selector/tokens-selector.tsx b/libs/ui/src/modals/screens/tokens-selector/tokens-selector.tsx index 7fb0a495a..a4aa25201 100644 --- a/libs/ui/src/modals/screens/tokens-selector/tokens-selector.tsx +++ b/libs/ui/src/modals/screens/tokens-selector/tokens-selector.tsx @@ -8,7 +8,7 @@ import { RenderItem } from '../../../components/selector/components/render-item/ import { Selector } from '../../../components/selector/selector'; import { Text } from '../../../components/text/text'; import { Token } from '../../../components/token/token'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useFilterAccountTokens } from '../../../hooks/use-filter-tokens.hook'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { usePreviousScreenName } from '../../../hooks/use-previous-screen-name.hook'; diff --git a/libs/ui/src/modals/screens/words-amount-selector/words-amount-selector.tsx b/libs/ui/src/modals/screens/words-amount-selector/words-amount-selector.tsx index 02d5f9ff6..7d7cdc924 100644 --- a/libs/ui/src/modals/screens/words-amount-selector/words-amount-selector.tsx +++ b/libs/ui/src/modals/screens/words-amount-selector/words-amount-selector.tsx @@ -3,7 +3,7 @@ import React, { FC } from 'react'; import { Dropdown } from '../../../components/dropdown/dropdown'; import { SeedWordsAmount, words } from '../../../constants/seed-words-amount'; -import { ScreensEnum, ScreensParamList } from '../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { usePreviousScreenName } from '../../../hooks/use-previous-screen-name.hook'; import { ModalContainer } from '../../components/modal-container/modal-container'; diff --git a/libs/ui/src/screens/activity/activity.tsx b/libs/ui/src/screens/activity/activity.tsx index b055c3049..c11204d0c 100644 --- a/libs/ui/src/screens/activity/activity.tsx +++ b/libs/ui/src/screens/activity/activity.tsx @@ -10,7 +10,7 @@ import { HeaderContainer } from '../../components/screen-components/header-conta import { ScreenContainer } from '../../components/screen-components/screen-container/screen-container'; import { Text } from '../../components/text/text'; import { TouchableIcon } from '../../components/touchable-icon/touchable-icon'; -import { ScreensEnum, ScreensParamList } from '../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../enums/screens.enum'; import { useNavigation } from '../../hooks/use-navigation.hook'; import { ACTIVITIES_TYPES } from '../../modals/screens/activity-filter-selector/constants'; import { diff --git a/libs/ui/src/screens/almost-done/almost-done.tsx b/libs/ui/src/screens/almost-done/almost-done.tsx index ee28b8fbb..5efe032fc 100644 --- a/libs/ui/src/screens/almost-done/almost-done.tsx +++ b/libs/ui/src/screens/almost-done/almost-done.tsx @@ -11,7 +11,7 @@ import { Text } from '../../components/text/text'; import { PasswordInput } from '../../components/text-input/components/password-input/password-input'; import { TextInput } from '../../components/text-input/text-input'; import { WalletCreationContainer } from '../../components/wallet-creation-container/wallet-creation-container'; -import { ScreensEnum, ScreensParamList } from '../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../enums/screens.enum'; import { useValidatePasswordForm } from '../../hooks/use-validate-password-form.hook'; import { usePasswordValidation } from '../../hooks/use-validation-messages.hook'; import { useAccountFieldRules } from '../../modals/hooks/use-validate-account-field.hook'; diff --git a/libs/ui/src/screens/collectibles/components/list-container/list-container.tsx b/libs/ui/src/screens/collectibles/components/list-container/list-container.tsx index 80f35b0d8..a37a52627 100644 --- a/libs/ui/src/screens/collectibles/components/list-container/list-container.tsx +++ b/libs/ui/src/screens/collectibles/components/list-container/list-container.tsx @@ -8,7 +8,7 @@ import { ScreenTitle } from '../../../../components/screen-components/header-con import { HeaderContainer } from '../../../../components/screen-components/header-container/header-container'; import { ScreenContainer } from '../../../../components/screen-components/screen-container/screen-container'; import { SearchPanel } from '../../../../components/search-panel/search-panel'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { Token } from '../../../../interfaces/token.interface'; import { ActivityFilterEnum } from '../../../../modals/screens/activity-filter-selector/activity-filter.enum'; diff --git a/libs/ui/src/screens/collectibles/screens/collectibles-list/collectibles-list.tsx b/libs/ui/src/screens/collectibles/screens/collectibles-list/collectibles-list.tsx index c4ecac5d1..9d08c5b75 100644 --- a/libs/ui/src/screens/collectibles/screens/collectibles-list/collectibles-list.tsx +++ b/libs/ui/src/screens/collectibles/screens/collectibles-list/collectibles-list.tsx @@ -6,7 +6,7 @@ import { CollectibleImage } from '../../../../components/collectible-image/colle import { Icon } from '../../../../components/icon/icon'; import { IconNameEnum } from '../../../../components/icon/icon-name.enum'; import { Text } from '../../../../components/text/text'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { Token } from '../../../../interfaces/token.interface'; import { CollectibleRenderItem } from '../../components/collectible-render-item/collectible-render-item'; diff --git a/libs/ui/src/screens/collectibles/screens/specific-collectibles-list/specific-collectibles-list.tsx b/libs/ui/src/screens/collectibles/screens/specific-collectibles-list/specific-collectibles-list.tsx index 4c4d57ce0..97c50196a 100644 --- a/libs/ui/src/screens/collectibles/screens/specific-collectibles-list/specific-collectibles-list.tsx +++ b/libs/ui/src/screens/collectibles/screens/specific-collectibles-list/specific-collectibles-list.tsx @@ -8,7 +8,7 @@ import { Column } from '../../../../components/column/column'; import { Icon } from '../../../../components/icon/icon'; import { IconNameEnum } from '../../../../components/icon/icon-name.enum'; import { Text } from '../../../../components/text/text'; -import { ScreensEnum, ScreensParamList } from '../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { Token } from '../../../../interfaces/token.interface'; import { diff --git a/libs/ui/src/screens/create-wallet/screens/create-a-new-wallet/create-a-new-wallet.tsx b/libs/ui/src/screens/create-wallet/screens/create-a-new-wallet/create-a-new-wallet.tsx index ebb49e971..1a2ab8f68 100644 --- a/libs/ui/src/screens/create-wallet/screens/create-a-new-wallet/create-a-new-wallet.tsx +++ b/libs/ui/src/screens/create-wallet/screens/create-a-new-wallet/create-a-new-wallet.tsx @@ -15,7 +15,7 @@ import { Text } from '../../../../components/text/text'; import { WalletCreationContainer } from '../../../../components/wallet-creation-container/wallet-creation-container'; import { SECURITY_TIME } from '../../../../constants/defaults'; import { MnemonicLengthEnum, words } from '../../../../constants/seed-words-amount'; -import { ScreensEnum, ScreensParamList } from '../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { useScrollToOffset } from '../../../../hooks/use-scroll-to-element.hook'; import { handleSetValueToClipboard } from '../../../../utils/copy-to-clipboard.util'; diff --git a/libs/ui/src/screens/create-wallet/screens/verify-mnemonic/verify-mnemonic.tsx b/libs/ui/src/screens/create-wallet/screens/verify-mnemonic/verify-mnemonic.tsx index 4bf899ec9..f90c703f4 100644 --- a/libs/ui/src/screens/create-wallet/screens/verify-mnemonic/verify-mnemonic.tsx +++ b/libs/ui/src/screens/create-wallet/screens/verify-mnemonic/verify-mnemonic.tsx @@ -8,7 +8,7 @@ import { Column } from '../../../../components/column/column'; import { Row } from '../../../../components/row/row'; import { Text } from '../../../../components/text/text'; import { WalletCreationContainer } from '../../../../components/wallet-creation-container/wallet-creation-container'; -import { ScreensEnum, ScreensParamList } from '../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { shuffledInitialState, wordsInitialState } from './state'; diff --git a/libs/ui/src/screens/edit-account/edit-account.tsx b/libs/ui/src/screens/edit-account/edit-account.tsx index b20a81996..22de24103 100644 --- a/libs/ui/src/screens/edit-account/edit-account.tsx +++ b/libs/ui/src/screens/edit-account/edit-account.tsx @@ -17,7 +17,7 @@ import { HeaderContainer } from '../../components/screen-components/header-conta import { ScreenContainer } from '../../components/screen-components/screen-container/screen-container'; import { Switch } from '../../components/switch/switch'; import { Text } from '../../components/text/text'; -import { ScreensEnum, ScreensParamList } from '../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../enums/screens.enum'; import { useCopyToClipboard } from '../../hooks/use-copy-to-clipboard.hook'; import { useFiatTotalBalance } from '../../hooks/use-fiat-total-balance.hook'; import { useNavigation } from '../../hooks/use-navigation.hook'; diff --git a/libs/ui/src/screens/import-wallet/import-wallet.tsx b/libs/ui/src/screens/import-wallet/import-wallet.tsx index 31216531f..746191622 100644 --- a/libs/ui/src/screens/import-wallet/import-wallet.tsx +++ b/libs/ui/src/screens/import-wallet/import-wallet.tsx @@ -11,7 +11,7 @@ import { Paste } from '../../components/paste/paste'; import { Row } from '../../components/row/row'; import { Text } from '../../components/text/text'; import { WalletCreationContainer } from '../../components/wallet-creation-container/wallet-creation-container'; -import { ScreensEnum, ScreensParamList } from '../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../enums/screens.enum'; import { useImportSeedPhrase } from '../../hooks/use-import-seed-phrase.hook'; import { useNavigation } from '../../hooks/use-navigation.hook'; import { getCustomSize } from '../../styles/format-size'; diff --git a/libs/ui/src/screens/receive/receive.tsx b/libs/ui/src/screens/receive/receive.tsx index fbe960a0e..f421ce499 100644 --- a/libs/ui/src/screens/receive/receive.tsx +++ b/libs/ui/src/screens/receive/receive.tsx @@ -13,7 +13,7 @@ import { ScreenContainer } from '../../components/screen-components/screen-conta import { ScreenScrollView } from '../../components/screen-components/screen-scroll-view/screen-scroll-view'; import { Text } from '../../components/text/text'; import { TouchableIcon } from '../../components/touchable-icon/touchable-icon'; -import { ScreensEnum } from '../../enums/sreens.enum'; +import { ScreensEnum } from '../../enums/screens.enum'; import { useDelayedEffect } from '../../hooks/use-delayed-effect.hook'; import { useNavigation } from '../../hooks/use-navigation.hook'; import { diff --git a/libs/ui/src/screens/send-confirmation/components/approve-token/approve-token.tsx b/libs/ui/src/screens/send-confirmation/components/approve-token/approve-token.tsx index 4bc6b2030..030691382 100644 --- a/libs/ui/src/screens/send-confirmation/components/approve-token/approve-token.tsx +++ b/libs/ui/src/screens/send-confirmation/components/approve-token/approve-token.tsx @@ -12,7 +12,7 @@ import { Row } from '../../../../components/row/row'; import { Text } from '../../../../components/text/text'; import { TextInput } from '../../../../components/text-input/text-input'; import { TouchableIcon } from '../../../../components/touchable-icon/touchable-icon'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { DAppInfo } from '../../../../interfaces/dapp-info.interface'; import { Token } from '../../../../interfaces/token.interface'; diff --git a/libs/ui/src/screens/send-confirmation/components/evm-confirmation/evm-confirmation.tsx b/libs/ui/src/screens/send-confirmation/components/evm-confirmation/evm-confirmation.tsx index 4143edfd7..c802822e5 100644 --- a/libs/ui/src/screens/send-confirmation/components/evm-confirmation/evm-confirmation.tsx +++ b/libs/ui/src/screens/send-confirmation/components/evm-confirmation/evm-confirmation.tsx @@ -2,7 +2,7 @@ import { TransactionResponse } from '@ethersproject/abstract-provider'; import { isDefined } from '@rnw-community/shared'; import React, { FC, PropsWithChildren, useCallback } from 'react'; -import { ScreensEnum, ScreensParamList } from '../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { sendErrorToDAppAndClosePopup, diff --git a/libs/ui/src/screens/send-confirmation/hooks/use-transaction.hook.tsx b/libs/ui/src/screens/send-confirmation/hooks/use-transaction.hook.tsx index 32745de92..54962b6a3 100644 --- a/libs/ui/src/screens/send-confirmation/hooks/use-transaction.hook.tsx +++ b/libs/ui/src/screens/send-confirmation/hooks/use-transaction.hook.tsx @@ -7,7 +7,7 @@ import { useDispatch } from 'react-redux'; import { NetworkTypeEnum } from 'shared'; import { ToastDescription } from '../../../components/toast-description/toast-description'; -import { ScreensEnum } from '../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { useToast } from '../../../hooks/use-toast.hook'; import { Token } from '../../../interfaces/token.interface'; diff --git a/libs/ui/src/screens/send-confirmation/send-confirmation.tsx b/libs/ui/src/screens/send-confirmation/send-confirmation.tsx index bc65122b9..012000f71 100644 --- a/libs/ui/src/screens/send-confirmation/send-confirmation.tsx +++ b/libs/ui/src/screens/send-confirmation/send-confirmation.tsx @@ -2,7 +2,7 @@ import { RouteProp, useRoute } from '@react-navigation/native'; import React, { FC } from 'react'; import { NetworkTypeEnum } from 'shared'; -import { ScreensEnum, ScreensParamList } from '../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../enums/screens.enum'; import { useSelectedNetworkTypeSelector } from '../../store/wallet/wallet.selectors'; import { EvmConfirmation } from './components/evm-confirmation/evm-confirmation'; diff --git a/libs/ui/src/screens/send/components/selected-account/selected-account.tsx b/libs/ui/src/screens/send/components/selected-account/selected-account.tsx index 3d7a033d0..006a1a147 100644 --- a/libs/ui/src/screens/send/components/selected-account/selected-account.tsx +++ b/libs/ui/src/screens/send/components/selected-account/selected-account.tsx @@ -13,7 +13,7 @@ import { IconWithBorder } from '../../../../components/icon-with-border/icon-wit import { RobotIcon } from '../../../../components/robot-icon/robot-icon'; import { Row } from '../../../../components/row/row'; import { Text } from '../../../../components/text/text'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { ViewStyleProps } from '../../../../interfaces/style.interface'; import { ModalGasToken } from '../../../../modals/components/modal-gas-token/modal-gas-token'; diff --git a/libs/ui/src/screens/send/components/transfer-between-my-accounts/transfer-between-my-accounts.tsx b/libs/ui/src/screens/send/components/transfer-between-my-accounts/transfer-between-my-accounts.tsx index 6917115ee..5f17aa967 100644 --- a/libs/ui/src/screens/send/components/transfer-between-my-accounts/transfer-between-my-accounts.tsx +++ b/libs/ui/src/screens/send/components/transfer-between-my-accounts/transfer-between-my-accounts.tsx @@ -15,7 +15,7 @@ import { Label } from '../../../../components/text-input/components/label/label' import { Prompt } from '../../../../components/text-input/components/prompt/prompt'; import { TextInput } from '../../../../components/text-input/text-input'; import { TouchableIcon } from '../../../../components/touchable-icon/touchable-icon'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { useToast } from '../../../../hooks/use-toast.hook'; import { useCreateHdAccountForNewNetworkType } from '../../../../shelter/hooks/use-create-hd-account-for-new-network-type.hook'; diff --git a/libs/ui/src/screens/send/screens/send-collectible/components/collectibles-selector/collectibles-selector.tsx b/libs/ui/src/screens/send/screens/send-collectible/components/collectibles-selector/collectibles-selector.tsx index 64eb7784c..8404887e0 100644 --- a/libs/ui/src/screens/send/screens/send-collectible/components/collectibles-selector/collectibles-selector.tsx +++ b/libs/ui/src/screens/send/screens/send-collectible/components/collectibles-selector/collectibles-selector.tsx @@ -13,7 +13,7 @@ import { Row } from '../../../../../../components/row/row'; import { Selector } from '../../../../../../components/selector/selector'; import { Text } from '../../../../../../components/text/text'; import { EMPTY_STRING } from '../../../../../../constants/defaults'; -import { ScreensEnum, ScreensParamList } from '../../../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../../../enums/screens.enum'; import { useFilterAccountTokens } from '../../../../../../hooks/use-filter-tokens.hook'; import { useNavigation } from '../../../../../../hooks/use-navigation.hook'; import { Token } from '../../../../../../interfaces/token.interface'; diff --git a/libs/ui/src/screens/send/screens/send-collectible/send-collectible.tsx b/libs/ui/src/screens/send/screens/send-collectible/send-collectible.tsx index 8d362ddb2..4cdcd9005 100644 --- a/libs/ui/src/screens/send/screens/send-collectible/send-collectible.tsx +++ b/libs/ui/src/screens/send/screens/send-collectible/send-collectible.tsx @@ -17,7 +17,7 @@ import { Text } from '../../../../components/text/text'; import { ErrorField } from '../../../../components/text-input/components/error-field/error-field'; import { Label } from '../../../../components/text-input/components/label/label'; import { TextInput } from '../../../../components/text-input/text-input'; -import { ScreensEnum, ScreensParamList } from '../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { useAllAccountsWithoutSelectedSelector } from '../../../../store/wallet/wallet.selectors'; import { getCustomSize } from '../../../../styles/format-size'; diff --git a/libs/ui/src/screens/send/screens/send-token/components/accounts-selector/accounts-selector.tsx b/libs/ui/src/screens/send/screens/send-token/components/accounts-selector/accounts-selector.tsx index c54b5eafe..c6164ec37 100644 --- a/libs/ui/src/screens/send/screens/send-token/components/accounts-selector/accounts-selector.tsx +++ b/libs/ui/src/screens/send/screens/send-token/components/accounts-selector/accounts-selector.tsx @@ -2,7 +2,7 @@ import { RouteProp, useRoute } from '@react-navigation/native'; import React, { FC } from 'react'; import { AccountInterface } from 'shared'; -import { ScreensEnum, ScreensParamList } from '../../../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../../../enums/screens.enum'; import { useNavigation } from '../../../../../../hooks/use-navigation.hook'; import { usePreviousScreenName } from '../../../../../../hooks/use-previous-screen-name.hook'; import { ModalContainer } from '../../../../../../modals/components/modal-container/modal-container'; diff --git a/libs/ui/src/screens/send/screens/send-token/components/token-input/components/select-token/select-token.tsx b/libs/ui/src/screens/send/screens/send-token/components/token-input/components/select-token/select-token.tsx index 464654ed1..e62676e46 100644 --- a/libs/ui/src/screens/send/screens/send-token/components/token-input/components/select-token/select-token.tsx +++ b/libs/ui/src/screens/send/screens/send-token/components/token-input/components/select-token/select-token.tsx @@ -7,7 +7,7 @@ import { IconNameEnum } from '../../../../../../../../components/icon/icon-name. import { Row } from '../../../../../../../../components/row/row'; import { Text } from '../../../../../../../../components/text/text'; import { Token } from '../../../../../../../../components/token/token'; -import { ScreensEnum } from '../../../../../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../../../../../enums/screens.enum'; import { useNavigation } from '../../../../../../../../hooks/use-navigation.hook'; import { Token as TokenType } from '../../../../../../../../interfaces/token.interface'; import { getCustomSize } from '../../../../../../../../styles/format-size'; diff --git a/libs/ui/src/screens/send/screens/send-token/send-token.tsx b/libs/ui/src/screens/send/screens/send-token/send-token.tsx index dff86d269..443c1eb9d 100644 --- a/libs/ui/src/screens/send/screens/send-token/send-token.tsx +++ b/libs/ui/src/screens/send/screens/send-token/send-token.tsx @@ -9,7 +9,7 @@ import { HeaderContainer } from '../../../../components/screen-components/header import { ScreenContainer } from '../../../../components/screen-components/screen-container/screen-container'; import { ScreenScrollView } from '../../../../components/screen-components/screen-scroll-view/screen-scroll-view'; import { getValueWithMaxNumberOfDecimals } from '../../../../components/text-input/utils/get-value-with-max-number-of-decimals.util'; -import { ScreensEnum, ScreensParamList } from '../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { useTokenFiatBalance } from '../../../../hooks/use-token-fiat-balance.hook'; import { useAllAccountsWithoutSelectedSelector, useGasTokenSelector } from '../../../../store/wallet/wallet.selectors'; diff --git "a/libs/ui/src/screens/settings/screens/accounts-settings/ac\321\201ounts-settings.tsx" "b/libs/ui/src/screens/settings/screens/accounts-settings/ac\321\201ounts-settings.tsx" index 9a2ffe904..0a60f58db 100644 --- "a/libs/ui/src/screens/settings/screens/accounts-settings/ac\321\201ounts-settings.tsx" +++ "b/libs/ui/src/screens/settings/screens/accounts-settings/ac\321\201ounts-settings.tsx" @@ -8,7 +8,7 @@ import { ScreenTitle } from '../../../../components/screen-components/header-con import { HeaderContainer } from '../../../../components/screen-components/header-container/header-container'; import { ScreenContainer } from '../../../../components/screen-components/screen-container/screen-container'; import { SearchPanel } from '../../../../components/search-panel/search-panel'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { styles } from './account-settings.styles'; diff --git a/libs/ui/src/screens/settings/screens/accounts-settings/components/accounts-list/accounts-list.tsx b/libs/ui/src/screens/settings/screens/accounts-settings/components/accounts-list/accounts-list.tsx index 76b8a0388..e8bb2771a 100644 --- a/libs/ui/src/screens/settings/screens/accounts-settings/components/accounts-list/accounts-list.tsx +++ b/libs/ui/src/screens/settings/screens/accounts-settings/components/accounts-list/accounts-list.tsx @@ -4,7 +4,7 @@ import { AccountInterface } from 'shared'; import { IconWithBorderEnum } from '../../../../../../components/icon-with-border/enums'; import { IconWithBorder } from '../../../../../../components/icon-with-border/icon-with-border'; import { RobotIcon } from '../../../../../../components/robot-icon/robot-icon'; -import { ScreensEnum } from '../../../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../../../enums/screens.enum'; import { useNavigation } from '../../../../../../hooks/use-navigation.hook'; import { ViewStyleProps } from '../../../../../../interfaces/style.interface'; import { useSelectedNetworkTypeSelector } from '../../../../../../store/wallet/wallet.selectors'; diff --git a/libs/ui/src/screens/settings/screens/authorized-d-apps/authorized-d-apps.tsx b/libs/ui/src/screens/settings/screens/authorized-d-apps/authorized-d-apps.tsx index db3e7ab0d..d27f8b694 100644 --- a/libs/ui/src/screens/settings/screens/authorized-d-apps/authorized-d-apps.tsx +++ b/libs/ui/src/screens/settings/screens/authorized-d-apps/authorized-d-apps.tsx @@ -12,7 +12,7 @@ import { ScreenContainer } from '../../../../components/screen-components/screen import { SearchPanel } from '../../../../components/search-panel/search-panel'; import { Text } from '../../../../components/text/text'; import { EMPTY_STRING } from '../../../../constants/defaults'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { useSelectedAccountDAppsListSelector } from '../../../../store/d-apps/d-apps.selectors'; import { DAppState } from '../../../../store/d-apps/d-apps.state'; diff --git a/libs/ui/src/screens/settings/screens/general/general.tsx b/libs/ui/src/screens/settings/screens/general/general.tsx index 58a59de65..1dbb25627 100644 --- a/libs/ui/src/screens/settings/screens/general/general.tsx +++ b/libs/ui/src/screens/settings/screens/general/general.tsx @@ -9,7 +9,7 @@ import { HeaderContainer } from '../../../../components/screen-components/header import { ScreenContainer } from '../../../../components/screen-components/screen-container/screen-container'; import { ScreenScrollView } from '../../../../components/screen-components/screen-scroll-view/screen-scroll-view'; import { Switch } from '../../../../components/switch/switch'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { setIsAnalyticsEnabled } from '../../../../store/settings/settings.actions'; import { useAnalyticsEnabledSelector } from '../../../../store/settings/settings.selectors'; diff --git a/libs/ui/src/screens/settings/screens/security/security.tsx b/libs/ui/src/screens/settings/screens/security/security.tsx index fc77037a8..8ddb36c38 100644 --- a/libs/ui/src/screens/settings/screens/security/security.tsx +++ b/libs/ui/src/screens/settings/screens/security/security.tsx @@ -10,7 +10,7 @@ import { HeaderContainer } from '../../../../components/screen-components/header import { ScreenContainer } from '../../../../components/screen-components/screen-container/screen-container'; import { ScreenScrollView } from '../../../../components/screen-components/screen-scroll-view/screen-scroll-view'; import { Switch } from '../../../../components/switch/switch'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { setIsBiometricEnabled } from '../../../../store/settings/settings.actions'; import { useBiometricEnabledSelector, useLockTimePeriodSelector } from '../../../../store/settings/settings.selectors'; diff --git a/libs/ui/src/screens/settings/settings.tsx b/libs/ui/src/screens/settings/settings.tsx index ef3fb94a3..b97f56142 100644 --- a/libs/ui/src/screens/settings/settings.tsx +++ b/libs/ui/src/screens/settings/settings.tsx @@ -17,7 +17,7 @@ import { ScreenContainer } from '../../components/screen-components/screen-conta import { ScreenScrollView } from '../../components/screen-components/screen-scroll-view/screen-scroll-view'; import { Text } from '../../components/text/text'; import { TouchableIcon } from '../../components/touchable-icon/touchable-icon'; -import { ScreensEnum } from '../../enums/sreens.enum'; +import { ScreensEnum } from '../../enums/screens.enum'; import { useNavigation } from '../../hooks/use-navigation.hook'; import { useSelectedAccountPublicKeyHashSelector } from '../../store/wallet/wallet.selectors'; import { getCustomSize } from '../../styles/format-size'; diff --git a/libs/ui/src/screens/swap/hooks/use-approve-allowance.hook.tsx b/libs/ui/src/screens/swap/hooks/use-approve-allowance.hook.tsx index def169e40..524262994 100644 --- a/libs/ui/src/screens/swap/hooks/use-approve-allowance.hook.tsx +++ b/libs/ui/src/screens/swap/hooks/use-approve-allowance.hook.tsx @@ -5,7 +5,7 @@ import { catchError, concatMap, tap } from 'rxjs/operators'; import { getApproveData } from '../../../api/1inch/1inch'; import { ONE_INCH_ICON, ONE_INCH_ROUTER_ADDRESS, ONE_INCH_SITE } from '../../../api/1inch/constants'; -import { ScreensEnum } from '../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../enums/screens.enum'; import { useNavigation } from '../../../hooks/use-navigation.hook'; import { useToast } from '../../../hooks/use-toast.hook'; import { Token } from '../../../interfaces/token.interface'; diff --git a/libs/ui/src/screens/swap/swap.tsx b/libs/ui/src/screens/swap/swap.tsx index 25642599a..3055ac5a6 100644 --- a/libs/ui/src/screens/swap/swap.tsx +++ b/libs/ui/src/screens/swap/swap.tsx @@ -23,7 +23,7 @@ import { Text } from '../../components/text/text'; import { Label } from '../../components/text-input/components/label/label'; import { getValueWithMaxNumberOfDecimals } from '../../components/text-input/utils/get-value-with-max-number-of-decimals.util'; import { TouchableIcon } from '../../components/touchable-icon/touchable-icon'; -import { ScreensEnum, ScreensParamList } from '../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../enums/screens.enum'; import { useNavigation } from '../../hooks/use-navigation.hook'; import { useToast } from '../../hooks/use-toast.hook'; import { useTokenFiatBalance } from '../../hooks/use-token-fiat-balance.hook'; diff --git a/libs/ui/src/screens/token/components/activity/activity.tsx b/libs/ui/src/screens/token/components/activity/activity.tsx index 065d66218..6b6e73ba7 100644 --- a/libs/ui/src/screens/token/components/activity/activity.tsx +++ b/libs/ui/src/screens/token/components/activity/activity.tsx @@ -4,7 +4,7 @@ import React, { FC } from 'react'; import { getDebankId } from '../../../../api/debank/utils/get-debank-id.util'; import { ActivitySectionList } from '../../../../components/activity-section-list/activity-section-list'; import { GAS_TOKEN_ADDRESS } from '../../../../constants/defaults'; -import { ScreensEnum, ScreensParamList } from '../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../enums/screens.enum'; import { useSelectedAccountPublicKeyHashSelector, useSelectedNetworkSelector diff --git a/libs/ui/src/screens/token/components/navigation-bar/hooks/use-token-navigation-bar.hook.ts b/libs/ui/src/screens/token/components/navigation-bar/hooks/use-token-navigation-bar.hook.ts index 2e4a9b483..8943e8dcf 100644 --- a/libs/ui/src/screens/token/components/navigation-bar/hooks/use-token-navigation-bar.hook.ts +++ b/libs/ui/src/screens/token/components/navigation-bar/hooks/use-token-navigation-bar.hook.ts @@ -2,7 +2,7 @@ import { useMemo } from 'react'; import { IconNameEnum } from '../../../../../components/icon/icon-name.enum'; import { modernCivilizationDidNotReachThisNetwork } from '../../../../../components/toast/constants/toast-messages'; -import { ScreensEnum } from '../../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../../enums/screens.enum'; import { useSwapSupported } from '../../../../../hooks/use-swap-supported.hook'; export interface TokenNavigationBarOption { diff --git a/libs/ui/src/screens/token/components/navigation-bar/navigation-bar.tsx b/libs/ui/src/screens/token/components/navigation-bar/navigation-bar.tsx index 9fc73791f..ae8281e88 100644 --- a/libs/ui/src/screens/token/components/navigation-bar/navigation-bar.tsx +++ b/libs/ui/src/screens/token/components/navigation-bar/navigation-bar.tsx @@ -5,7 +5,7 @@ import { Pressable } from 'react-native'; import { Divider } from '../../../../components/divider/divider'; import { Icon } from '../../../../components/icon/icon'; import { Row } from '../../../../components/row/row'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { useToast } from '../../../../hooks/use-toast.hook'; import { Token } from '../../../../interfaces/token.interface'; diff --git a/libs/ui/src/screens/token/components/token-info/token-info.tsx b/libs/ui/src/screens/token/components/token-info/token-info.tsx index f1fc500a3..8098a9fe4 100644 --- a/libs/ui/src/screens/token/components/token-info/token-info.tsx +++ b/libs/ui/src/screens/token/components/token-info/token-info.tsx @@ -5,7 +5,7 @@ import { ScrollView } from 'react-native'; import { CopyText } from '../../../../components/copy-text/copy-text'; import { InfoItem } from '../../../../components/info-item/info-item'; import { GAS_TOKEN_ADDRESS } from '../../../../constants/defaults'; -import { ScreensEnum, ScreensParamList } from '../../../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../../../enums/screens.enum'; import { useCurrentTokenSelector, useSelectedNetworkSelector } from '../../../../store/wallet/wallet.selectors'; import { getString } from '../../../../utils/get-string.utils'; import { getTokenDetailsUrl } from '../../../../utils/get-token-details-url.util'; diff --git a/libs/ui/src/screens/token/token.tsx b/libs/ui/src/screens/token/token.tsx index ac722bbd4..4148b9d7f 100644 --- a/libs/ui/src/screens/token/token.tsx +++ b/libs/ui/src/screens/token/token.tsx @@ -8,7 +8,7 @@ import { HeaderContainer } from '../../components/screen-components/header-conta import { ScreenContainer } from '../../components/screen-components/screen-container/screen-container'; import { Tabs } from '../../components/tabs/tabs'; import { DATA_UPDATE_TIME } from '../../constants/update-time'; -import { ScreensEnum, ScreensParamList } from '../../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../../enums/screens.enum'; import { useNavigation } from '../../hooks/use-navigation.hook'; import { useTimerEffect } from '../../hooks/use-timer-effect.hook'; import { ViewStyleProps } from '../../interfaces/style.interface'; diff --git a/libs/ui/src/screens/tokens/components/account-tokens/account-tokens.tsx b/libs/ui/src/screens/tokens/components/account-tokens/account-tokens.tsx index ee548d513..36960e8fc 100644 --- a/libs/ui/src/screens/tokens/components/account-tokens/account-tokens.tsx +++ b/libs/ui/src/screens/tokens/components/account-tokens/account-tokens.tsx @@ -10,7 +10,7 @@ import { Row } from '../../../../components/row/row'; import { Text } from '../../../../components/text/text'; import { AccountToken } from '../../../../components/token/account-token/account-token'; import { TokenItemThemesEnum } from '../../../../components/token/token-item/enums'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { useSortAccountTokensByBalance } from '../../../../hooks/use-sort-tokens-by-balance.hook'; import { Token as TokenInterface } from '../../../../interfaces/token.interface'; diff --git a/libs/ui/src/screens/tokens/tokens.tsx b/libs/ui/src/screens/tokens/tokens.tsx index 96ef17d93..b4322606a 100644 --- a/libs/ui/src/screens/tokens/tokens.tsx +++ b/libs/ui/src/screens/tokens/tokens.tsx @@ -9,7 +9,7 @@ import { ScreenTitle } from '../../components/screen-components/header-container import { HeaderContainer } from '../../components/screen-components/header-container/header-container'; import { ScreenContainer } from '../../components/screen-components/screen-container/screen-container'; import { SearchPanel } from '../../components/search-panel/search-panel'; -import { ScreensEnum } from '../../enums/sreens.enum'; +import { ScreensEnum } from '../../enums/screens.enum'; import { useNavigation } from '../../hooks/use-navigation.hook'; import { useSearchNewToken } from '../../hooks/use-search-new-token.hook'; import { Token } from '../../interfaces/token.interface'; diff --git a/libs/ui/src/screens/unlock-app/unlock-app.tsx b/libs/ui/src/screens/unlock-app/unlock-app.tsx index 9e5992d7f..2c8e0360b 100644 --- a/libs/ui/src/screens/unlock-app/unlock-app.tsx +++ b/libs/ui/src/screens/unlock-app/unlock-app.tsx @@ -10,7 +10,7 @@ import { IconNameEnum } from '../../components/icon/icon-name.enum'; import { Row } from '../../components/row/row'; import { Text } from '../../components/text/text'; import { PasswordInput } from '../../components/text-input/components/password-input/password-input'; -import { ScreensEnum } from '../../enums/sreens.enum'; +import { ScreensEnum } from '../../enums/screens.enum'; import { useNavigation } from '../../hooks/use-navigation.hook'; import { useUnlock } from '../../hooks/use-unlock.hook'; import { useBiometricEnabledSelector } from '../../store/settings/settings.selectors'; diff --git a/libs/ui/src/screens/wallet-created/wallet-created.tsx b/libs/ui/src/screens/wallet-created/wallet-created.tsx index 3a30fbb88..755a32cbf 100644 --- a/libs/ui/src/screens/wallet-created/wallet-created.tsx +++ b/libs/ui/src/screens/wallet-created/wallet-created.tsx @@ -10,7 +10,7 @@ import { Pressable } from '../../components/pressable/pressable'; import { Row } from '../../components/row/row'; import { Text } from '../../components/text/text'; import { TouchableIcon } from '../../components/touchable-icon/touchable-icon'; -import { ScreensEnum } from '../../enums/sreens.enum'; +import { ScreensEnum } from '../../enums/screens.enum'; import { useNavigation } from '../../hooks/use-navigation.hook'; import { setIsAnalyticsEnabled } from '../../store/settings/settings.actions'; import { getCustomSize } from '../../styles/format-size'; diff --git a/libs/ui/src/screens/wallet/components/assets-widget/assets-widget.tsx b/libs/ui/src/screens/wallet/components/assets-widget/assets-widget.tsx index 584e81fd3..0c320b1d2 100644 --- a/libs/ui/src/screens/wallet/components/assets-widget/assets-widget.tsx +++ b/libs/ui/src/screens/wallet/components/assets-widget/assets-widget.tsx @@ -8,7 +8,7 @@ import { IconNameEnum } from '../../../../components/icon/icon-name.enum'; import { Row } from '../../../../components/row/row'; import { AccountToken } from '../../../../components/token/account-token/account-token'; import { WidgetContainer } from '../../../../components/widget-container/widget-container'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { useSortAccountTokensByBalance } from '../../../../hooks/use-sort-tokens-by-balance.hook'; import { TestIDProps } from '../../../../interfaces/test-id.props'; diff --git a/libs/ui/src/screens/wallet/components/collectibles/collectibles.tsx b/libs/ui/src/screens/wallet/components/collectibles/collectibles.tsx index 8ae891a29..2e53d7b11 100644 --- a/libs/ui/src/screens/wallet/components/collectibles/collectibles.tsx +++ b/libs/ui/src/screens/wallet/components/collectibles/collectibles.tsx @@ -8,7 +8,7 @@ import { Divider } from '../../../../components/divider/divider'; import { IconNameEnum } from '../../../../components/icon/icon-name.enum'; import { Row } from '../../../../components/row/row'; import { WidgetContainer } from '../../../../components/widget-container/widget-container'; -import { ScreensEnum } from '../../../../enums/sreens.enum'; +import { ScreensEnum } from '../../../../enums/screens.enum'; import { useNavigation } from '../../../../hooks/use-navigation.hook'; import { TestIDProps } from '../../../../interfaces/test-id.props'; import { Token } from '../../../../interfaces/token.interface'; diff --git a/libs/ui/src/screens/welcome/welcome.tsx b/libs/ui/src/screens/welcome/welcome.tsx index 8ca23cf78..e829c9b3d 100644 --- a/libs/ui/src/screens/welcome/welcome.tsx +++ b/libs/ui/src/screens/welcome/welcome.tsx @@ -9,7 +9,7 @@ import { IconNameEnum } from '../../components/icon/icon-name.enum'; import { Row } from '../../components/row/row'; import { Text } from '../../components/text/text'; import { windowWidth } from '../../constants/dimensions'; -import { ScreensEnum } from '../../enums/sreens.enum'; +import { ScreensEnum } from '../../enums/screens.enum'; import { useNavigation } from '../../hooks/use-navigation.hook'; import { colors } from '../../styles/colors'; import { getCustomSize } from '../../styles/format-size'; diff --git a/libs/ui/src/shelter/hooks/use-create-imported-account.hook.ts b/libs/ui/src/shelter/hooks/use-create-imported-account.hook.ts index 51b2bbe5e..ff030b7d0 100644 --- a/libs/ui/src/shelter/hooks/use-create-imported-account.hook.ts +++ b/libs/ui/src/shelter/hooks/use-create-imported-account.hook.ts @@ -4,7 +4,7 @@ import { catchError, of, Subject, switchMap, tap } from 'rxjs'; import { NetworkTypeEnum, HdAccount } from 'shared'; import { Shelter } from 'shelter'; -import { ScreensEnum } from '../../enums/sreens.enum'; +import { ScreensEnum } from '../../enums/screens.enum'; import { useNavigation } from '../../hooks/use-navigation.hook'; import { useToast } from '../../hooks/use-toast.hook'; import { hideLoaderAction, showLoaderAction } from '../../store/settings/settings.actions'; diff --git a/libs/ui/src/store/root-state.actions.ts b/libs/ui/src/store/root-state.actions.ts index ee9a80f30..0430ef934 100644 --- a/libs/ui/src/store/root-state.actions.ts +++ b/libs/ui/src/store/root-state.actions.ts @@ -1,7 +1,7 @@ import { ParamListBase } from '@react-navigation/native'; import { createAction } from '@reduxjs/toolkit'; -import { ScreensParamList } from '../enums/sreens.enum'; +import { ScreensParamList } from '../enums/screens.enum'; import { createActions } from './utils/action.utils'; diff --git a/libs/ui/src/store/swap/swap.epics.ts b/libs/ui/src/store/swap/swap.epics.ts index 9ff7d230c..4d048ce4e 100644 --- a/libs/ui/src/store/swap/swap.epics.ts +++ b/libs/ui/src/store/swap/swap.epics.ts @@ -9,7 +9,7 @@ import { ofType, toPayload } from 'ts-action-operators'; import { getQuote, getSwapData } from '../../api/1inch/1inch'; import { DEBOUNCE_TIME } from '../../constants/defaults'; -import { ScreensEnum } from '../../enums/sreens.enum'; +import { ScreensEnum } from '../../enums/screens.enum'; import { OperationsEnum } from '../../screens/send-confirmation/enums'; import { getSwapExchangeRate } from '../../utils/get-swap-exchange-rate.util'; import { formatUnits } from '../../utils/units.utils'; diff --git a/libs/ui/src/store/wallet/wallet.epics.ts b/libs/ui/src/store/wallet/wallet.epics.ts index 570586361..52a239566 100644 --- a/libs/ui/src/store/wallet/wallet.epics.ts +++ b/libs/ui/src/store/wallet/wallet.epics.ts @@ -6,7 +6,7 @@ import { Action } from 'ts-action'; import { ofType, toPayload } from 'ts-action-operators'; import { getAllUserNftList, getTokenList } from '../../api/debank/debank'; -import { ScreensEnum } from '../../enums/sreens.enum'; +import { ScreensEnum } from '../../enums/screens.enum'; import { getErc20TokenMetadata$ } from '../../utils/get-erc20-token-metadata.util'; import { parseTezosTransferParams } from '../../utils/parse-tezos-transfer-params.utils'; import { getGasTokenBalance$, getTokenBalance$ } from '../../utils/token.utils'; diff --git a/libs/ui/src/store/wallet/wallet.utils.ts b/libs/ui/src/store/wallet/wallet.utils.ts index d0044cd1a..452f6fa67 100644 --- a/libs/ui/src/store/wallet/wallet.utils.ts +++ b/libs/ui/src/store/wallet/wallet.utils.ts @@ -36,6 +36,7 @@ export const updateAccountsGasTokensState = ( }; export const updateAccountsTokensState = (state: WalletState, account: AccountInterface) => { + console.log('updateAccountsTokensState'); const accountTokens = getDefaultAccountTokens(state, account); const prepareAccountTokens = accountTokens && { [accountTokens.accountTokensSlug]: accountTokens.defaultAccountTokens @@ -45,6 +46,7 @@ export const updateAccountsTokensState = (state: WalletState, account: AccountIn }; const getDefaultAccountTokens = (state: WalletState, account: AccountInterface) => { + console.log('getDefaultAccountTokens'); const { networks, selectedNetworkRpcUrl } = state; const chainId = getSelectedNetworkChainId(state); const accountTokensSlug = getAccountTokensSlug(chainId, getPublicKeyHash(account, getSelectedNetworkType(state))); @@ -69,11 +71,16 @@ export const updateAccountTokenState = ( token: Token, updateFunc: (token: AccountToken) => Partial ): WalletState => { + console.log('updateAccountTokenState'); const { selectedAccountPublicKeyHash, accountsTokens } = state; const chainId = getSelectedNetworkChainId(state); const accountTokensSlug = getAccountTokensSlug(chainId, selectedAccountPublicKeyHash); const tokenSlug = getTokenSlug(token.tokenAddress, token.tokenId); const targetAccountTokens = accountsTokens[accountTokensSlug]; + console.log('accountTokensSlug', accountTokensSlug); + console.log('tokenSlug', tokenSlug); + console.log('targetAccountTokens', targetAccountTokens); + console.log('state', state); if (typeof targetAccountTokens === 'undefined') { return state; diff --git a/libs/ui/src/utils/navigation.utils.ts b/libs/ui/src/utils/navigation.utils.ts index 77241d267..2c2e01915 100644 --- a/libs/ui/src/utils/navigation.utils.ts +++ b/libs/ui/src/utils/navigation.utils.ts @@ -1,6 +1,6 @@ import { Route } from '@react-navigation/native'; -import { ScreensEnum, ScreensParamList } from '../enums/sreens.enum'; +import { ScreensEnum, ScreensParamList } from '../enums/screens.enum'; export const createNavigationRoute = ( name: T,