1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-03 21:32:34 +00:00
trezor-wallet/src/components/notifications/Context/components/Static/index.js
2018-10-09 15:20:57 +02:00

16 lines
442 B
JavaScript

/* @flow */
import { Notification } from 'components/Notification';
import type { Props } from '../../index';
export default (props: Props) => {
const { location } = props.router;
if (!location) return null;
const notifications: Array<Notification> = [];
// if (location.state.device) {
// notifications.push(<Notification key="example" type="info" title="Static example" />);
// }
return notifications;
};