mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +00:00
using React.Fragment
This commit is contained in:
parent
2804275ca9
commit
5df872eec1
@ -32,11 +32,11 @@ export type Props = StateProps & DispatchProps;
|
|||||||
type OwnProps = {};
|
type OwnProps = {};
|
||||||
|
|
||||||
const Notifications = (props: Props) => (
|
const Notifications = (props: Props) => (
|
||||||
<div>
|
<React.Fragment>
|
||||||
<StaticNotifications {...props} />
|
<StaticNotifications {...props} />
|
||||||
<AccountNotifications {...props} />
|
<AccountNotifications {...props} />
|
||||||
<ActionNotifications {...props} />
|
<ActionNotifications {...props} />
|
||||||
</div>
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
|
|
||||||
const mapStateToProps: MapStateToProps<State, OwnProps, StateProps> = (state: State): StateProps => ({
|
const mapStateToProps: MapStateToProps<State, OwnProps, StateProps> = (state: State): StateProps => ({
|
||||||
|
@ -10,8 +10,6 @@ import colors from 'config/colors';
|
|||||||
import Tooltip from 'components/Tooltip';
|
import Tooltip from 'components/Tooltip';
|
||||||
import { QRCode } from 'react-qr-svg';
|
import { QRCode } from 'react-qr-svg';
|
||||||
|
|
||||||
import SelectedAccount from 'views/Wallet/components/SelectedAccount';
|
|
||||||
|
|
||||||
import { FONT_SIZE, FONT_WEIGHT, FONT_FAMILY } from 'config/variables';
|
import { FONT_SIZE, FONT_WEIGHT, FONT_FAMILY } from 'config/variables';
|
||||||
|
|
||||||
import type { Props } from './Container';
|
import type { Props } from './Container';
|
||||||
|
@ -75,7 +75,7 @@ const AccountSummary = (props: Props) => {
|
|||||||
const balance: string = new BigNumber(account.balance).minus(pendingAmount).toString(10);
|
const balance: string = new BigNumber(account.balance).minus(pendingAmount).toString(10);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section>
|
<React.Fragment>
|
||||||
<AccountHeading>
|
<AccountHeading>
|
||||||
<AccountName>
|
<AccountName>
|
||||||
<StyledCoinLogo coinNetwork={account.network} />
|
<StyledCoinLogo coinNetwork={account.network} />
|
||||||
@ -155,7 +155,7 @@ const AccountSummary = (props: Props) => {
|
|||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</AddedTokensWrapper>
|
</AddedTokensWrapper>
|
||||||
</section>
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user