chore: Added translate functions (#21816)

This commit is contained in:
Andrew
2022-10-19 04:54:16 +03:00
committed by GitHub
parent f38115489b
commit df7840c041
21 changed files with 95 additions and 90 deletions

View File

@@ -184,7 +184,7 @@ const TableSelector: FunctionComponent<TableSelectorProps> = ({
onSuccess: (data: { options: Table[] }) => {
onTablesLoad?.(data.options);
if (isFetched) {
addSuccessToast('List updated');
addSuccessToast(t('List updated'));
}
},
onError: () => handleError(t('There was an error loading the tables')),