aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/higher-order-components/initialized/initialized.component.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/higher-order-components/initialized/initialized.component.js')
-rw-r--r--ui/app/higher-order-components/initialized/initialized.component.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/ui/app/higher-order-components/initialized/initialized.component.js b/ui/app/higher-order-components/initialized/initialized.component.js
deleted file mode 100644
index 0736ceff4..000000000
--- a/ui/app/higher-order-components/initialized/initialized.component.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react'
-import PropTypes from 'prop-types'
-import { Redirect, Route } from 'react-router-dom'
-import { INITIALIZE_ROUTE } from '../../routes'
-
-export default function Initialized (props) {
- return props.completedOnboarding
- ? <Route { ...props } />
- : <Redirect to={{ pathname: INITIALIZE_ROUTE }} />
-}
-
-Initialized.propTypes = {
- completedOnboarding: PropTypes.bool,
-}