Newer
Older
// Copyright 2015-2018 Parity Technologies (UK) Ltd.
import React, { PureComponent } from "react";
import { AccountHeader } from "fether-ui";
import { accountsInfo$ } from "@parity/light.js";
import light from "light-hoc";
import { Link, Redirect } from "react-router-dom";
import Health from "../Health";
import TokensList from "./TokensList";
const {
accountsInfo,
// If the accountsInfo object is empty (i.e. no accounts), then we redirect
// to the accounts page to create an account
if (accountsInfo && !Object.keys(accountsInfo).length) {
<div className="footer-nav_icons">
<button className="button -tiny" onClick={this.handleGoToWhitelist}>