fix(i18n): unify shared view states

This commit is contained in:
cesnimda
2026-08-29 23:37:07 +02:00
parent 360b992b37
commit 10ce0f2086
9 changed files with 98 additions and 38 deletions
@@ -53,7 +53,7 @@ export default function CompaniesTable() {
},
{
initialData: [],
errorMessage: t("companiesUpdateFailed"),
errorMessage: t("companiesLoadFailed"),
deps: [t],
},
);
@@ -120,8 +120,8 @@ export default function CompaniesTable() {
<ViewStateNotice
loading={companiesResource.loading}
error={companiesResource.error}
title="Unable to load companies"
description="The companies list is unavailable right now. Try again when the API is reachable."
title={t("companiesLoadFailed")}
description={t("companiesLoadFailedBody")}
onRetry={companiesResource.reload}
/>