Skip to content

Commit 5b66958

Browse files
Copilot0xrinegade
andcommitted
Remove fake password inputs and fix visual consistency
Co-authored-by: 0xrinegade <[email protected]>
1 parent a805dd5 commit 5b66958

File tree

8 files changed

+16
-17
lines changed

8 files changed

+16
-17
lines changed

src/pages/CreateWallet/components/ConfirmSeedPhrase.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515

1616
import BottomLink from '../../../components/BottomLink';
1717
import { sleep } from '../../../utils/utils';
18-
import FakeInputs from '../../../components/FakeInputs';
18+
1919
import { BtnCustom } from '../../../components/BtnCustom';
2020

2121
const ConfirmAnswer = styled(RowContainer)`
@@ -95,7 +95,7 @@ const ConfirmSeedPhrase = ({
9595

9696
return (
9797
<>
98-
<FakeInputs />
98+
{/* Removed FakeInputs - no password functionality needed */}
9999
<Card
100100
minHeight={'50rem'}
101101
height="55rem"

src/pages/CreateWallet/components/SaveSeedPhrase.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { TextareaWithCopy } from '../../../components/Input';
1717
import BottomLink from '../../../components/BottomLink';
1818
import AttentionComponent from '../../../components/Attention';
1919
import clipboardCopy from 'clipboard-copy';
20-
import FakeInputs from '../../../components/FakeInputs';
20+
2121

2222
const SeedPhraseForm = styled(RowContainer)`
2323
@media (max-width: 540px) {
@@ -64,7 +64,7 @@ const SaveSeedPhrase = ({
6464

6565
return (
6666
<>
67-
<FakeInputs />
67+
{/* Removed FakeInputs - no password functionality needed */}
6868
<Card minHeight={'50rem'} width="50rem" height="55rem">
6969
<Row
7070
width={'90%'}

src/pages/CreateWallet/components/Warning.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
} from '../../commonStyles';
1515

1616
import BottomLink from '../../../components/BottomLink';
17-
import FakeInputs from '../../../components/FakeInputs';
17+
1818
import AttentionComponent from '../../../components/Attention';
1919
import { forgetWallet } from '../../../utils/wallet-seed';
2020

@@ -57,7 +57,7 @@ const Warning = ({
5757

5858
return (
5959
<>
60-
<FakeInputs />
60+
{/* Removed FakeInputs - no password functionality needed */}
6161
<Card minHeight={'50rem'} justify={'space-evenly'}>
6262
<RowContainer direction={'column'}>
6363
<StyledTitle fontSize={'2.4rem'} >

src/pages/CreateWallet/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
} from '../../utils/wallet-seed';
1919
import { useCallAsync } from '../../utils/notifications';
2020
import { DERIVATION_PATH } from '../../utils/walletProvider/localStorage';
21-
import FakeInputs from '../../components/FakeInputs';
21+
2222

2323
const MainRow = styled(RowContainer)`
2424
@media (max-width: 540px) {
@@ -73,7 +73,7 @@ export const CreateWalletPage = () => {
7373
<Helmet>
7474
<title>Create new SVMSeek Wallet</title>
7575
</Helmet>
76-
<FakeInputs />
76+
{/* Removed FakeInputs - no password functionality needed */}
7777
<RowContainer height={'100%'} direction={'column'}>
7878
{/* <Logo
7979
currentStep={

src/pages/RestoreWallet/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { InputWithPaste } from '../../components/Input';
2323
import BottomLink from '../../components/BottomLink';
2424
import { useTheme } from '@mui/material';
2525
import DerivableAccounts from './DerivableAccounts';
26-
import FakeInputs from '../../components/FakeInputs';
26+
2727
import Warning from '../CreateWallet/components/Warning';
2828
import { isExtension, openExtensionInNewTab } from '../../utils/utils';
2929

@@ -64,8 +64,7 @@ export const RestorePage = () => {
6464
<Helmet>
6565
<title>Restore SVMSeek Wallet by seed phrase</title>
6666
</Helmet>
67-
<FakeInputs />
68-
{}
67+
{/* Removed FakeInputs - no password functionality needed */}
6968
{redirectToWallet && <Navigate to="/wallet" replace />}
7069
{/* <Logo /> */}
7170
{/* margin={showDerivation ? '0 0 4rem 0' : '0 0 8rem 0'} */}

src/pages/Wallet/components/AddTokenPopup.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import {
3030
WhiteButton,
3131
} from '../../commonStyles';
3232
import { StyledTab, StyledTabs } from '../styles';
33-
import FakeInputs from '../../../components/FakeInputs';
33+
3434

3535
const WhiteText = styled(Title)`
3636
font-size: 1.4rem;
@@ -185,7 +185,7 @@ export default function AddTokenDialog({
185185
setTab(!!popularTokens ? 'popular' : 'manual');
186186
}}
187187
>
188-
<FakeInputs />
188+
{/* Removed FakeInputs - no password functionality needed */}
189189
{!!popularTokens && (
190190
<RowContainer margin="0 0 2rem 0">
191191
<StyledTabs

src/pages/Wallet/components/ReceivePopup.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
} from '../styles';
4040

4141
import MetamaskIcon from '../../../images/metamask.png';
42-
import FakeInputs from '../../../components/FakeInputs';
42+
4343

4444
export default function DepositDialog({
4545
open,
@@ -122,7 +122,7 @@ export default function DepositDialog({
122122
setTab(0);
123123
}}
124124
>
125-
<FakeInputs />
125+
{/* Removed FakeInputs - no password functionality needed */}
126126

127127
{/* <RowContainer padding="1.6rem 0 2.4rem 0">
128128
<StyledTabs

src/pages/Wallet/components/SendPopup.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
import { InputWithMax, InputWithPaste } from '../../../components/Input';
4040
import AttentionComponent from '../../../components/Attention';
4141
// import { StyledTab, StyledTabs } from '../styles';
42-
import FakeInputs from '../../../components/FakeInputs';
42+
4343
import ProgressBar from '../../CreateWallet/components/ProgressBar';
4444
import { StyledTab, StyledTabs } from '../styles';
4545
import { useSnackbar } from 'notistack';
@@ -131,7 +131,7 @@ export default function SendDialog({ open, onClose, publicKey, balanceInfo, refr
131131
padding={'2rem 0'}
132132
>
133133
<>
134-
<FakeInputs />
134+
{/* Removed FakeInputs - no password functionality needed */}
135135
<RowContainer>
136136
<Title fontSize="1.6rem">
137137
Send {tokenSymbolForCheck ? ` ${tokenSymbolForCheck} to` : null}

0 commit comments

Comments
 (0)