fix(i18n): unify shared view states
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user