diff --git a/.changelog/2008.bugfix.md b/.changelog/2008.bugfix.md new file mode 100644 index 0000000000..5a485a00ee --- /dev/null +++ b/.changelog/2008.bugfix.md @@ -0,0 +1 @@ +Fix losing mnemonic input when changing phone orientation diff --git a/src/app/pages/CreateWalletPage/index.tsx b/src/app/pages/CreateWalletPage/index.tsx index 8a5fa8bbc1..854b71e09e 100644 --- a/src/app/pages/CreateWalletPage/index.tsx +++ b/src/app/pages/CreateWalletPage/index.tsx @@ -13,7 +13,6 @@ import { Box } from 'grommet/es6/components/Box' import { Button } from 'grommet/es6/components/Button' import { CheckBox } from 'grommet/es6/components/CheckBox' import { Grid } from 'grommet/es6/components/Grid' -import { Layer } from 'grommet/es6/components/Layer' import { ResponsiveContext } from 'grommet/es6/contexts/ResponsiveContext' import { Text } from 'grommet/es6/components/Text' import { Refresh } from 'grommet-icons/es6/icons/Refresh' @@ -27,6 +26,7 @@ import { selectShowAccountsSelectionModal } from 'app/state/importaccounts/selec import { createWalletActions } from './slice' import { selectCheckbox, selectMnemonic } from './slice/selectors' import { WalletType } from 'app/state/wallet/types' +import { ThemeContext } from 'grommet/contexts/ThemeContext' export interface CreateWalletProps {} @@ -73,14 +73,7 @@ export function CreateWalletPage(props: CreateWalletProps) { )} {showConfirmation && ( - + setConfirmation(false)} > - + )} {showAccountsSelectionModal && (