From 314125e6fd56b7bb1ee593d724d522ed604d5033 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Wed, 4 Nov 2020 19:56:17 -0330 Subject: [PATCH] Remove unused `isImportedKeyring` prop (#9794) This prop was being passed to the `CreatePassword` component, but that component has no prop with this name. In fact, no component in this entire project does. --- ui/app/pages/first-time-flow/first-time-flow.component.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/app/pages/first-time-flow/first-time-flow.component.js b/ui/app/pages/first-time-flow/first-time-flow.component.js index bb55b9091..0a96a8ceb 100644 --- a/ui/app/pages/first-time-flow/first-time-flow.component.js +++ b/ui/app/pages/first-time-flow/first-time-flow.component.js @@ -38,7 +38,6 @@ export default class FirstTimeFlow extends PureComponent { state = { seedPhrase: '', - isImportedKeyring: false, } componentDidMount() { @@ -80,7 +79,6 @@ export default class FirstTimeFlow extends PureComponent { try { const vault = await createNewAccountFromSeed(password, seedPhrase) - this.setState({ isImportedKeyring: true }) return vault } catch (error) { throw new Error(error.message) @@ -101,7 +99,7 @@ export default class FirstTimeFlow extends PureComponent { } render() { - const { seedPhrase, isImportedKeyring } = this.state + const { seedPhrase } = this.state const { verifySeedPhrase } = this.props return ( @@ -132,7 +130,6 @@ export default class FirstTimeFlow extends PureComponent { render={(routeProps) => (