1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-28 09:58:23 +00:00

removed comment

This commit is contained in:
Szymon Lesisz 2018-09-26 18:48:45 +02:00
parent b30c303d5a
commit 61d9713b0b

View File

@ -11,6 +11,22 @@ export default (props: Props) => {
if (notification.type === 'backend') {
// special case: backend is down
// TODO: this is a different component with "auto resolve" button
/*
return (
<Notification
type="error"
title="Backend not connected"
actions={
[{
label: 'Try again',
callback: async () => {
await props.blockchainReconnect(network.network);
},
}]
}
/>
);
*/
return (<Notification type="error" title={notification.title} message={notification.message} />);
}
return (<Notification type={notification.type} title={notification.title} message={notification.message} />);