mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-10 11:05:47 +00:00
4f6e83acf4
* Check offline status immediately. * If they start the page offline, show a less severe error message. * Get rid of offline aware header. Disable wallet options when offline. * Add online indicator to the header. * Prevent some components from render, some requests from firing when offline. * Allow for array of elements with typing. * Dont show dollars in fee summary when offline. * Fix up saga tests. * Fix sidebar component offline styles. * Remove force offline. * Dont request rates if offline. * Nonce in advanced, show even of online. * Show invalid advanced props. * Fix up offline poll tests.
17 lines
501 B
TypeScript
17 lines
501 B
TypeScript
import React from 'react';
|
|
import './OfflineTab.scss';
|
|
|
|
const OfflineTab: React.SFC<{}> = () => (
|
|
<section className="OfflineTab Tab-content swap-tab">
|
|
<div className="Tab-content-pane">
|
|
<div className="OfflineTab-icon fa-stack fa-4x">
|
|
<i className="fa fa-wifi fa-stack-1x" />
|
|
<i className="fa fa-ban fa-stack-2x" />
|
|
</div>
|
|
<h1 className="OfflineTab-message">This feature is unavailable while offline</h1>
|
|
</div>
|
|
</section>
|
|
);
|
|
|
|
export default OfflineTab;
|