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

Added static notification for xrp

This commit is contained in:
Vladimir Volek 2019-01-07 16:09:04 +01:00 committed by Szymon Lesisz
parent c371159e00
commit ecde81ca86

View File

@ -10,10 +10,18 @@ export default (props: Props) => {
if (!location) return null;
const notifications: Array<Notification> = [];
// Example:
// if (location.state.device) {
// notifications.push(<Notification key="example" type="info" title="Static example" />);
// }
if (location.pathname.includes('xrp')) {
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 (
<React.Fragment>