From: abias Date: Mon, 22 May 2023 16:57:52 +0000 (-0400) Subject: Add error message paragraph X-Git-Url: http://these/git/%7Burl.unwrap%28%29%7D?a=commitdiff_plain;h=51c0c98faa32c965bf40996c1dc9226ff99b73bf;p=lemmy-ui.git Add error message paragraph --- diff --git a/src/shared/components/app/error-page.tsx b/src/shared/components/app/error-page.tsx index 2a6c1a1..e19323f 100644 --- a/src/shared/components/app/error-page.tsx +++ b/src/shared/components/app/error-page.tsx @@ -22,16 +22,14 @@ export class ErrorPage extends Component { ? i18n.t("error_page_title") : i18n.t("not_found_page_title")} -

- {errorPageData ? ( - - ### - ## - - ) : ( - i18n.t("not_found_page_message") - )} -

+ {errorPageData ? ( + + ### + ## + + ) : ( +

{i18n.t("not_found_page_message")}

+ )} {!errorPageData && ( {i18n.t("not_found_return_home_button")} @@ -57,7 +55,13 @@ export class ErrorPage extends Component { )} {errorPageData?.error && ( - Error Code: {errorPageData.error} + + ### + )} );