Improved offline handling
This commit is contained in:
17
app/scenes/ErrorOffline.js
Normal file
17
app/scenes/ErrorOffline.js
Normal file
@@ -0,0 +1,17 @@
|
||||
// @flow
|
||||
import * as React from 'react';
|
||||
import CenteredContent from 'components/CenteredContent';
|
||||
import PageTitle from 'components/PageTitle';
|
||||
import Empty from 'components/Empty';
|
||||
|
||||
const ErrorOffline = () => {
|
||||
return (
|
||||
<CenteredContent>
|
||||
<PageTitle title="Offline" />
|
||||
<h1>Offline</h1>
|
||||
<Empty>We were unable to load the document while offline.</Empty>
|
||||
</CenteredContent>
|
||||
);
|
||||
};
|
||||
|
||||
export default ErrorOffline;
|
||||
Reference in New Issue
Block a user