// Copyright 2017-2018 Jaco Greeff // This software may be modified and distributed under the terms // of the ISC license. See the LICENSE file for details. // @flow import type { BareProps } from '@polkadot/ui-app/types'; import './index.css'; import React from 'react'; import createApp from '@polkadot/ui-app'; import classes from '@polkadot/ui-app/util/classes'; import Signer from '@polkadot/ui-signer'; import Connecting from './Connecting'; import Content from './Content'; import NodeInfo from './NodeInfo'; import SideBar from './SideBar'; type Props = BareProps & {}; function App ({ className, style }: Props): React$Node { return (
); } createApp(App, { url: process.env.WS_URL === null || process.env.WS_URL === '' ? undefined : process.env.WS_URL });