mirror of https://github.com/trezor/trezor-wallet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
442 B
16 lines
442 B
/* @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;
|
|
}; |