This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
2018-06-08 04:35:40 +00:00
|
|
|
// @flow
|
2020-06-20 20:59:15 +00:00
|
|
|
import * as React from "react";
|
2020-11-30 04:04:58 +00:00
|
|
|
import { useTranslation } from "react-i18next";
|
2020-06-20 20:59:15 +00:00
|
|
|
import CenteredContent from "components/CenteredContent";
|
|
|
|
import Empty from "components/Empty";
|
2020-08-09 05:53:59 +00:00
|
|
|
import PageTitle from "components/PageTitle";
|
2018-06-08 04:35:40 +00:00
|
|
|
|
|
|
|
const ErrorOffline = () => {
|
2020-11-30 04:04:58 +00:00
|
|
|
const { t } = useTranslation();
|
|
|
|
|
2018-06-08 04:35:40 +00:00
|
|
|
return (
|
|
|
|
<CenteredContent>
|
2020-11-30 04:04:58 +00:00
|
|
|
<PageTitle title={t("Offline")} />
|
|
|
|
<h1>{t("Offline")}</h1>
|
|
|
|
<Empty>{t("We were unable to load the document while offline.")}</Empty>
|
2018-06-08 04:35:40 +00:00
|
|
|
</CenteredContent>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default ErrorOffline;
|