mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-06 23:56:35 +00:00
fix i18next.d.ts (#2064)
* fix i18next.d.ts * feat: packages web i18n * delete file
This commit is contained in:
@@ -45,7 +45,7 @@ const Detail = ({ datasetId, currentTab }: Props) => {
|
||||
onError(err: any) {
|
||||
router.replace(`/dataset/list`);
|
||||
toast({
|
||||
title: t(getErrText(err, t('common:common.Load Failed'))),
|
||||
title: t(getErrText(err, t('common:common.Load Failed')) as any),
|
||||
status: 'error'
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user