mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-01 03:40:53 +00:00
Added static notification for xrp
This commit is contained in:
parent
c371159e00
commit
ecde81ca86
@ -10,10 +10,18 @@ export default (props: Props) => {
|
|||||||
if (!location) return null;
|
if (!location) return null;
|
||||||
|
|
||||||
const notifications: Array<Notification> = [];
|
const notifications: Array<Notification> = [];
|
||||||
// Example:
|
|
||||||
// if (location.state.device) {
|
if (location.pathname.includes('xrp')) {
|
||||||
// notifications.push(<Notification key="example" type="info" title="Static example" />);
|
notifications.push(
|
||||||
// }
|
<Notification
|
||||||
|
key="example"
|
||||||
|
type="warning"
|
||||||
|
title="Minimum account reserve required"
|
||||||
|
message="The Base Reserve is a minimum amount of XRP that is required for every address in the ledger. Currently, this is 20 XRP."
|
||||||
|
cancelable
|
||||||
|
/>,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
|
Loading…
Reference in New Issue
Block a user