// Copyright 2015-2018 Parity Technologies (UK) Ltd. // This file is part of Parity. // // SPDX-License-Identifier: MIT import React, { PureComponent } from 'react'; import { accounts$ } from '@parity/light.js'; import { inject } from 'mobx-react'; import { Link } from 'react-router-dom'; import Health from '../Health'; import light from '../hoc'; @light({ accounts: accounts$ }) @inject('firstRunStore') class Onboarding extends PureComponent { handleFirstRun = () => { // Not first run anymore after clicking Start this.props.firstRunStore.setIsFirstRun(false); }; render () { const { accounts } = this.props; return (
This is the onboarding page.
{accounts && accounts.length ? ( Start ) : ( Create account )}
); } } export default Onboarding;