I18n'ise hardcoded strings

This commit is contained in:
Michael Telatynski
2023-11-22 20:07:15 +00:00
parent 2b39fa930e
commit 7051c11411
7 changed files with 21 additions and 10 deletions

View File

@@ -71,7 +71,7 @@ export const ErrorView: FC<ErrorViewProps> = ({ error }) => {
return (
<FullScreenView>
<h1>Error</h1>
<h1>{t("common.error")}</h1>
<p>
{error instanceof TranslatedError
? error.translatedMessage