diff --git a/src/renderer/src/components/TopView/toast.ts b/src/renderer/src/components/TopView/toast.ts index b5108315f..67d0cfe77 100644 --- a/src/renderer/src/components/TopView/toast.ts +++ b/src/renderer/src/components/TopView/toast.ts @@ -1,5 +1,6 @@ import { addToast, closeAll, closeToast, getToastQueue, isToastClosing } from '@heroui/toast' import { RequireSome } from '@renderer/types' +import { t } from 'i18next' type AddToastProps = Parameters[0] type ToastPropsColored = Omit @@ -54,7 +55,7 @@ export const loading = (args: RequireSome) => { if (args.timeout === undefined) { args.timeout = 1 } - return addToast(args) + return addToast({ title: t('common.loading'), ...args }) } export const getToastUtilities = () =>