mirror of
https://github.com/outline/outline.git
synced 2026-11-21 21:44:30 +03:00
20 lines
590 B
TypeScript
20 lines
590 B
TypeScript
import * as React from "react";
|
|
import { useTranslation } from "react-i18next";
|
|
import CenteredContent from "~/components/CenteredContent";
|
|
import Empty from "~/components/Empty";
|
|
import Heading from "~/components/Heading";
|
|
import PageTitle from "~/components/PageTitle";
|
|
|
|
const ErrorOffline = () => {
|
|
const { t } = useTranslation();
|
|
return (
|
|
<CenteredContent>
|
|
<PageTitle title={t("Offline")} />
|
|
<Heading>{t("Offline")}</Heading>
|
|
<Empty>{t("We were unable to load the document while offline.")}</Empty>
|
|
</CenteredContent>
|
|
);
|
|
};
|
|
|
|
export default ErrorOffline;
|