Fix: 9809 error not show in toast when clone (#9810)

This commit is contained in:
roofeel 2024-06-26 15:20:04 +08:00 committed by GitHub
parent 6acd23d5f3
commit c503d333a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,7 +89,7 @@ export function AppModal({
setInfoText('');
closeModal();
}
} catch (error) {
} catch (e) {
toast.error(e.error, {
position: 'top-center',
});