Skip to content

Commit

Permalink
chore: Update SetupRestore component with seed phrase input field
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed May 9, 2024
1 parent ded1161 commit 22740aa
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions frontend/components/Setup/SetupRestore.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CloseOutlined } from '@ant-design/icons';
import { Button, Flex, Typography } from 'antd';
import { Button, Col, Flex, Input, Row, Typography } from 'antd';
import { memo } from 'react';

import { CardFlex } from '@/components/styled/CardFlex';
Expand Down Expand Up @@ -61,6 +61,7 @@ export const SetupRestoreMain = () => {
);
};

const SEED_PHRASE_WORDS = 12;
export const SetupRestoreViaSeed = () => {
return (
<CardFlex
Expand All @@ -71,7 +72,17 @@ export const SetupRestoreViaSeed = () => {
</Flex>
}
gap={10}
></CardFlex>
>
<Typography.Text>
To restore access to your Operate account, enter the seed phrase you
received when setting up your account.
</Typography.Text>
<Row>
<Col span={12}>
<Input className="w-full" />
</Col>
</Row>
</CardFlex>
);
};

Expand Down

0 comments on commit 22740aa

Please sign in to comment.