1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-25 00:18:07 +00:00

using React.Fragment

This commit is contained in:
Szymon Lesisz 2018-09-26 18:02:39 +02:00
parent 2804275ca9
commit 5df872eec1
3 changed files with 4 additions and 6 deletions

View File

@ -32,11 +32,11 @@ export type Props = StateProps & DispatchProps;
type OwnProps = {};
const Notifications = (props: Props) => (
<div>
<React.Fragment>
<StaticNotifications {...props} />
<AccountNotifications {...props} />
<ActionNotifications {...props} />
</div>
</React.Fragment>
);
const mapStateToProps: MapStateToProps<State, OwnProps, StateProps> = (state: State): StateProps => ({

View File

@ -10,8 +10,6 @@ import colors from 'config/colors';
import Tooltip from 'components/Tooltip';
import { QRCode } from 'react-qr-svg';
import SelectedAccount from 'views/Wallet/components/SelectedAccount';
import { FONT_SIZE, FONT_WEIGHT, FONT_FAMILY } from 'config/variables';
import type { Props } from './Container';

View File

@ -75,7 +75,7 @@ const AccountSummary = (props: Props) => {
const balance: string = new BigNumber(account.balance).minus(pendingAmount).toString(10);
return (
<section>
<React.Fragment>
<AccountHeading>
<AccountName>
<StyledCoinLogo coinNetwork={account.network} />
@ -155,7 +155,7 @@ const AccountSummary = (props: Props) => {
/>
))}
</AddedTokensWrapper>
</section>
</React.Fragment>
);
};