site ID 변경시 경고메세지지

This commit is contained in:
2025-08-12 10:26:16 +09:00
parent 2ab1a9fe19
commit 18ebfa1c79
+1 -1
View File
@@ -29,7 +29,7 @@ function ModifyPage({ siteId }: { siteId: string }) {
});
useEffect(() => {
if (siteDetail === undefined && siteId) {
if (siteDetail === null && siteId) {
alert("사이트 정보를 찾을 수 없습니다.", () => router.push("/site"));
}
}, [siteDetail, siteId]);