diff --git a/src/components/Onboarding/ModalContentWrapper.tsx b/src/components/Onboarding/ModalContentWrapper.tsx
index 85feb161f7..83330e0e2f 100644
--- a/src/components/Onboarding/ModalContentWrapper.tsx
+++ b/src/components/Onboarding/ModalContentWrapper.tsx
@@ -19,7 +19,7 @@ export default function ModalContentWrapper({ children, icon, title, subtitle }:
{title}
{subtitle && (
-
+
{subtitle}
)}
diff --git a/src/components/Onboarding/derivationPath/DerivationPath.tsx b/src/components/Onboarding/derivationPath/DerivationPath.tsx
index 29f9647f4b..699159a818 100644
--- a/src/components/Onboarding/derivationPath/DerivationPath.tsx
+++ b/src/components/Onboarding/derivationPath/DerivationPath.tsx
@@ -50,7 +50,7 @@ export const DerivationPath = ({
subtitle="Choose a custom derivation path or select the default derivation path and use the default key."
>
diff --git a/src/components/Onboarding/notice/Notice.tsx b/src/components/Onboarding/notice/Notice.tsx
index b85357bda8..474c71b9eb 100644
--- a/src/components/Onboarding/notice/Notice.tsx
+++ b/src/components/Onboarding/notice/Notice.tsx
@@ -1,4 +1,4 @@
-import { VStack, Button, ListItem, OrderedList } from "@chakra-ui/react";
+import { Button, ListItem, OrderedList, Box } from "@chakra-ui/react";
import React from "react";
import { generate24WordMnemonic } from "../../../utils/mnemonic";
import ModalContentWrapper from "../ModalContentWrapper";
@@ -28,8 +28,8 @@ const Notice: React.FC<{
title="Important Notice"
subtitle="Please read the following before you continue to see your secret Seed Phrase."
>
-
-
+
+
{noticeItems.map((item, index) => {
return {item.content};
})}
@@ -37,6 +37,7 @@ const Notice: React.FC<{
+
);
};
diff --git a/src/components/Onboarding/restoreMnemonic/RestoreMnemonic.tsx b/src/components/Onboarding/restoreMnemonic/RestoreMnemonic.tsx
index 5c99a1c141..d9b8f70481 100644
--- a/src/components/Onboarding/restoreMnemonic/RestoreMnemonic.tsx
+++ b/src/components/Onboarding/restoreMnemonic/RestoreMnemonic.tsx
@@ -1,8 +1,8 @@
-import { VStack, Text, Input, Box, Button, GridItem, Grid, Select } from "@chakra-ui/react";
+import { VStack, Input, Box, Button, GridItem, Grid, Select, Heading } from "@chakra-ui/react";
import { useState } from "react";
import ModalContentWrapper from "../ModalContentWrapper";
import { FieldValues, useForm } from "react-hook-form";
-import { WarningIcon } from "@chakra-ui/icons";
+import { ChevronDownIcon, WarningIcon } from "@chakra-ui/icons";
import { Step, StepType } from "../useOnboardingModal";
import { mnemonic1 } from "../../../mocks/mockMnemonic";
import { useAsyncActionHandler } from "../../../utils/hooks/useAsyncActionHandler";
@@ -84,6 +84,9 @@ const RestoreMnemonic = ({ goToStep }: { goToStep: (step: Step) => void }) => {
}
+ height="48px"
+ color={colors.gray[450]}
onChange={event => handleMnemonicSizeChange(event.target.value)}
value={mnemonicSize}
>
@@ -102,14 +105,24 @@ const RestoreMnemonic = ({ goToStep }: { goToStep: (step: Step) => void }) => {
-
+
{index + 1}
-
+
{
@@ -119,7 +132,7 @@ const RestoreMnemonic = ({ goToStep }: { goToStep: (step: Step) => void }) => {
}}
size="xsmall"
border="none"
- placeholder="Type here"
+ placeholder="Type here..."
{...register(`word${index}`, {
required: true,
})}
diff --git a/src/components/Onboarding/showSeedphrase/ShowSeedphrase.tsx b/src/components/Onboarding/showSeedphrase/ShowSeedphrase.tsx
index 4a76cb6732..8e6940b59e 100644
--- a/src/components/Onboarding/showSeedphrase/ShowSeedphrase.tsx
+++ b/src/components/Onboarding/showSeedphrase/ShowSeedphrase.tsx
@@ -1,4 +1,4 @@
-import { Box, Button, SimpleGrid, VStack } from "@chakra-ui/react";
+import { Button, Flex, Heading, SimpleGrid, Text, VStack } from "@chakra-ui/react";
import ModalContentWrapper from "../ModalContentWrapper";
import { ShowSeedphraseStep, Step, StepType } from "../useOnboardingModal";
import colors from "../../../style/colors";
@@ -21,19 +21,26 @@ export const ShowSeedphrase = ({
{account.mnemonic.split(" ").map((item, index) => {
return (
-
-
+
{index + 1}
-
- {item}
-
+
+ {item}
+
);
})}
diff --git a/src/components/Onboarding/verifySeedphrase/VerifySeedphrase.tsx b/src/components/Onboarding/verifySeedphrase/VerifySeedphrase.tsx
index af1598333c..cc0251bfd0 100644
--- a/src/components/Onboarding/verifySeedphrase/VerifySeedphrase.tsx
+++ b/src/components/Onboarding/verifySeedphrase/VerifySeedphrase.tsx
@@ -51,7 +51,7 @@ const VerifySeedphrase = ({
);
})}
-
+
Continue
diff --git a/src/components/SideNavbar.tsx b/src/components/SideNavbar.tsx
index cad024957e..cd6d6e8e24 100644
--- a/src/components/SideNavbar.tsx
+++ b/src/components/SideNavbar.tsx
@@ -68,13 +68,13 @@ const TotalBalance = () => {
export const SideNavbar = () => {
return (
-
+
-
+
diff --git a/src/views/home/AccountsList.test.tsx b/src/views/home/AccountsList.test.tsx
index ce347bb6fb..930cefe35a 100644
--- a/src/views/home/AccountsList.test.tsx
+++ b/src/views/home/AccountsList.test.tsx
@@ -138,8 +138,9 @@ describe("", () => {
fireEvent.change(nameInput, { target: { value: LABEL } });
fireEvent.click(screen.getByRole("button", { name: /continue/i }));
- await screen.findByText(/Enter Password to continue/i);
-
+ await waitFor(() => {
+ expect(screen.getByLabelText(/password/i)).toBeInTheDocument();
+ });
const passwordInput = screen.getByLabelText(/password/i);
fireEvent.change(passwordInput, { target: { value: "myPassword" } });
@@ -158,7 +159,7 @@ describe("", () => {
fireEvent.click(screen.getByRole("button", { name: /submit/i }));
await waitFor(() => {
- expect(screen.queryByText(/Enter Password to continue/i)).not.toBeInTheDocument();
+ expect(screen.queryByLabelText(/password/i)).not.toBeInTheDocument();
});
{