Flatten components
This commit is contained in:
parent
0e2b6b9a8e
commit
c9ffe7a2de
@ -5,14 +5,12 @@
|
||||
|
||||
import type { BaseProps } from '@polkadot/portal/types';
|
||||
|
||||
import './Account.css';
|
||||
|
||||
import React from 'react';
|
||||
import Label from 'semantic-ui-react/dist/es/elements/Label';
|
||||
import Balance from '@polkadot/rx-react/Balance';
|
||||
import withObservableParams from '@polkadot/rx-react/with/observableParams';
|
||||
|
||||
import InputAddress from '../InputAddress';
|
||||
import InputAddress from './InputAddress';
|
||||
|
||||
type Props = BaseProps & {
|
||||
label: string,
|
||||
@ -1,6 +0,0 @@
|
||||
/* 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. */
|
||||
|
||||
.testing--Account {
|
||||
}
|
||||
@ -5,14 +5,12 @@
|
||||
|
||||
import type { BaseProps } from '@polkadot/portal/types';
|
||||
|
||||
import './App.css';
|
||||
|
||||
import React from 'react';
|
||||
|
||||
import CallDisplay from '../CallDisplay';
|
||||
import CallSelect from '../CallSelect';
|
||||
import Nonce from '../Nonce';
|
||||
import Sender from '../Sender';
|
||||
import CallDisplay from './CallDisplay';
|
||||
import CallSelect from './CallSelect';
|
||||
import Nonce from './Nonce';
|
||||
import Sender from './Sender';
|
||||
|
||||
type Props = BaseProps & {};
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
/* 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. */
|
||||
|
||||
.testing--App {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.testing--App-BestNumber {
|
||||
margin-bottom: 1rem;
|
||||
opacity: 0.5;
|
||||
text-align: right;
|
||||
}
|
||||
@ -5,14 +5,12 @@
|
||||
|
||||
import type { BaseProps } from '@polkadot/portal/types';
|
||||
|
||||
import './CallSelect.css';
|
||||
|
||||
import React from 'react';
|
||||
import Dropdown from 'semantic-ui-react/dist/es/modules/Dropdown';
|
||||
import Label from 'semantic-ui-react/dist/es/elements/Label';
|
||||
|
||||
import extrinsicName from '../subject/extrinsicName';
|
||||
import calls from '../calls';
|
||||
import extrinsicName from './subject/extrinsicName';
|
||||
import calls from './calls';
|
||||
|
||||
type Props = BaseProps & {};
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
/* 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. */
|
||||
|
||||
.testing--CallSelect {
|
||||
}
|
||||
@ -5,16 +5,14 @@
|
||||
|
||||
import type { BaseProps } from '@polkadot/portal/types';
|
||||
|
||||
import './Nonce.css';
|
||||
|
||||
import React from 'react';
|
||||
import Label from 'semantic-ui-react/dist/es/elements/Label';
|
||||
import RxNonce from '@polkadot/rx-react/Nonce';
|
||||
import withObservableParams from '@polkadot/rx-react/with/observableParams';
|
||||
import u8aToBn from '@polkadot/util/u8a/toBn';
|
||||
|
||||
import addrSender from '../subject/addrSender';
|
||||
import nonceSender from '../subject/nonceSender';
|
||||
import addrSender from './subject/addrSender';
|
||||
import nonceSender from './subject/nonceSender';
|
||||
|
||||
type Props = BaseProps & {};
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
/* 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. */
|
||||
|
||||
.testing--Sender {
|
||||
}
|
||||
@ -5,12 +5,10 @@
|
||||
|
||||
import type { BaseProps } from '@polkadot/portal/types';
|
||||
|
||||
import './Recipient.css';
|
||||
|
||||
import React from 'react';
|
||||
|
||||
import Account from '../Account';
|
||||
import addrRecipient from '../subject/addrRecipient';
|
||||
import Account from './Account';
|
||||
import addrRecipient from './subject/addrRecipient';
|
||||
|
||||
type Props = BaseProps & {};
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
/* 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. */
|
||||
|
||||
.testing--Recipient {
|
||||
}
|
||||
@ -5,12 +5,10 @@
|
||||
|
||||
import type { BaseProps } from '@polkadot/portal/types';
|
||||
|
||||
import './Sender.css';
|
||||
|
||||
import React from 'react';
|
||||
|
||||
import Account from '../Account';
|
||||
import addrSender from '../subject/addrSender';
|
||||
import Account from './Account';
|
||||
import addrSender from './subject/addrSender';
|
||||
|
||||
type Props = BaseProps & {};
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
/* 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. */
|
||||
|
||||
.testing--Sender {
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user