diff --git a/lib/components/user/existing-account-display.js b/lib/components/user/existing-account-display.js index 0513914f4..7aaed3284 100644 --- a/lib/components/user/existing-account-display.js +++ b/lib/components/user/existing-account-display.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react' +import React from 'react' import LinkButton from './link-button' import StackedPaneDisplay from './stacked-pane-display' @@ -6,38 +6,41 @@ import StackedPaneDisplay from './stacked-pane-display' /** * This component handles the existing account display. */ -class ExistingAccountDisplay extends Component { - render () { - const { onCancel, onComplete, panes } = this.props - const paneSequence = [ - { - pane: () =>