Skip to content

Commit

Permalink
Merge pull request #467 from trilitech/fix-new-accounts-derivation
Browse files Browse the repository at this point in the history
Fix account derivation
  • Loading branch information
serjonya-trili authored Oct 4, 2023
2 parents 267b382 + ed140d8 commit 6f5db87
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
File renamed without changes.
24 changes: 18 additions & 6 deletions src/views/home/AccountsList.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
import { Box, Button, Flex, Heading, Text, useToast } from "@chakra-ui/react";
import {
Box,
Button,
Flex,
Heading,
ModalCloseButton,
ModalContent,
Text,
useToast,
} from "@chakra-ui/react";
import { compact, groupBy } from "lodash";
import { useContext } from "react";
import { BsWindowPlus } from "react-icons/bs";
Expand Down Expand Up @@ -195,10 +204,13 @@ const DeriveAccount = (props: { onDone: () => void; fingerprint: string }) => {
);

return (
<DeriveAccountDisplay
subtitle={`Name the new account dervied from seedphrase ${props.fingerprint}`}
onSubmit={handleSubmit}
isLoading={isLoading}
/>
<ModalContent>
<ModalCloseButton />
<DeriveAccountDisplay
subtitle={`Name the new account derived from ${props.fingerprint}`}
onSubmit={handleSubmit}
isLoading={isLoading}
/>
</ModalContent>
);
};

0 comments on commit 6f5db87

Please sign in to comment.