From 1604511a3824074746a4c1c0d438e17d33e20c3c Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Thu, 16 Jan 2025 23:54:11 +0100 Subject: [PATCH] feat: cleanup --- .../wallets/native/NativeStart.tsx | 35 +------------------ 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/src/context/WalletProvider/NewWalletViews/wallets/native/NativeStart.tsx b/src/context/WalletProvider/NewWalletViews/wallets/native/NativeStart.tsx index 2d1cab2c1d8..efd167bb49d 100644 --- a/src/context/WalletProvider/NewWalletViews/wallets/native/NativeStart.tsx +++ b/src/context/WalletProvider/NewWalletViews/wallets/native/NativeStart.tsx @@ -1,28 +1,18 @@ import { ArrowForwardIcon } from '@chakra-ui/icons' -import type { ResponsiveValue } from '@chakra-ui/react' -import { Button, Divider, Flex, ModalBody, ModalHeader, Stack } from '@chakra-ui/react' -import type { Property } from 'csstype' +import { Button, Divider, ModalBody, ModalHeader, Stack } from '@chakra-ui/react' import { useCallback } from 'react' -import { useTranslate } from 'react-polyglot' import type { RouteComponentProps } from 'react-router' import { Text } from 'components/Text' import { NativeWalletRoutes } from 'context/WalletProvider/types' -import { useFeatureFlag } from 'hooks/useFeatureFlag/useFeatureFlag' -const directionProp: ResponsiveValue = ['column', 'row'] -const mlProp = [0, 1.5] const arrowForwardIcon = export const NativeStart = ({ history }: RouteComponentProps) => { - const isShapeShiftMobileWalletEnabled = useFeatureFlag('ShapeShiftMobileWallet') - const translate = useTranslate() - const handleCreate = useCallback(() => history.push(NativeWalletRoutes.Create), [history]) const handleImportClick = useCallback( () => history.push(NativeWalletRoutes.ImportSelect), [history], ) - const handleLogin = useCallback(() => history.push(NativeWalletRoutes.LegacyLogin), [history]) return ( <> @@ -57,29 +47,6 @@ export const NativeStart = ({ history }: RouteComponentProps) => { > - {isShapeShiftMobileWalletEnabled && ( - <> - - - - - - - )}