mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-14 13:48:04 -05:00
fix oom toast title
This commit is contained in:
committed by
psychedelicious
parent
c194281f4d
commit
588e8a0195
@@ -11,10 +11,10 @@ export const ErrorToastTitle = ({ errorType }: Props) => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
if (errorType === 'OutOfMemoryError') {
|
||||
return t('toast.outOfMemoryError');
|
||||
return <Text>{t('toast.outOfMemoryError')}</Text>;
|
||||
}
|
||||
|
||||
return t('toast.serverError');
|
||||
return <Text>{t('toast.serverError')}</Text>;
|
||||
};
|
||||
|
||||
export default function ErrorToastDescription({ errorType, isLocal, sessionId, errorMessage }: Props) {
|
||||
|
||||
Reference in New Issue
Block a user