From ed2d3425b735f4e7d3e08102b2f8bbd014e23322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Mon, 9 Feb 2026 21:30:30 +0900 Subject: [PATCH] =?UTF-8?q?fix:Toast=20=EC=BB=B4=ED=8F=AC=EB=84=8C?= =?UTF-8?q?=ED=8A=B8=20=EC=9D=B4=EB=A6=84=20=EC=B6=A9=EB=8F=8C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 레이아웃의 전역 Toast(SweetAlert)와 이름 충돌 → ToastNotification으로 변경 Co-Authored-By: Claude Opus 4.6 --- resources/views/juil/construction-photos.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/juil/construction-photos.blade.php b/resources/views/juil/construction-photos.blade.php index ecfc4150..9288754f 100644 --- a/resources/views/juil/construction-photos.blade.php +++ b/resources/views/juil/construction-photos.blade.php @@ -52,8 +52,8 @@ return res.json(); } -// --- Toast --- -function Toast({ message, type, onClose }) { +// --- ToastNotification --- +function ToastNotification({ message, type, onClose }) { useEffect(() => { const t = setTimeout(onClose, 3000); return () => clearTimeout(t); @@ -546,7 +546,7 @@ function App() { return (
- {toast && setToast(null)} />} + {toast && setToast(null)} />} {/* Header */}