From c503d333a21e613bdaf17cc092d2e5b5c58217f5 Mon Sep 17 00:00:00 2001 From: roofeel Date: Wed, 26 Jun 2024 15:20:04 +0800 Subject: [PATCH] Fix: 9809 error not show in toast when clone (#9810) --- frontend/src/_components/AppModal.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/_components/AppModal.jsx b/frontend/src/_components/AppModal.jsx index c2530e44ea..5e9a001705 100644 --- a/frontend/src/_components/AppModal.jsx +++ b/frontend/src/_components/AppModal.jsx @@ -89,7 +89,7 @@ export function AppModal({ setInfoText(''); closeModal(); } - } catch (error) { + } catch (e) { toast.error(e.error, { position: 'top-center', });