From 47faed0ff7877adb41d4f3f1f122f3c3471bd74f Mon Sep 17 00:00:00 2001 From: swcho Date: Thu, 31 Jul 2025 17:56:46 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=8A=A4=ED=86=A0=EC=96=B4=20fetch?= =?UTF-8?q?=20=EC=8B=A4=ED=8C=A8=20alert=20=EC=A3=BC=EC=84=9D=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/sn/app/store/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/sn/app/store/index.ts b/apps/sn/app/store/index.ts index b20466d77..875f0489d 100644 --- a/apps/sn/app/store/index.ts +++ b/apps/sn/app/store/index.ts @@ -22,7 +22,7 @@ export const fetchCtpvData = async (set: (state: any) => void) => { .sort((a: Option, b: Option) => a.name.localeCompare(b.name, 'ko')); set({ ctpv: ctpvList }); } catch (e: any) { - alert("시도 데이터 로드 실패: " + e.message); + // alert("시도 데이터 로드 실패: " + e.message); console.error("CTPV 데이터 로드 실패:", e); } }; @@ -38,7 +38,7 @@ export const fetchSggData = async (set: (state: any) => void) => { .sort((a: Option, b: Option) => a.name.localeCompare(b.name, 'ko')); set({ sgg: sggList }); } catch (e: any) { - alert("시군구 데이터 로드 실패: " + e.message); + // alert("시군구 데이터 로드 실패: " + e.message); console.error("SGG 데이터 로드 실패:", e); } }; @@ -48,7 +48,7 @@ export const fetchBIZ_SE_CD = async (set: (state: any) => void) => { const res = await getCmsData(`/api/v1/code/cache/BIZSECD`); set({ BIZ_SE_CD: res }); } catch (e: any) { - alert("BIZ_SE_CD 데이터 로드 실패: " + e.message); + // alert("BIZ_SE_CD 데이터 로드 실패: " + e.message); console.error("BIZ_SE_CD 데이터 로드 실패:", e); } }; @@ -58,7 +58,7 @@ export const fetchBIZ_TY_CD = async (set: (state: any) => void) => { const res = await getCmsData(`/api/v1/code/cache/BIZTYCD`); set({ BIZ_TY_CD: res }); } catch (e: any) { - alert("BIZ_TY_CD 데이터 로드 실패: " + e.message); + // alert("BIZ_TY_CD 데이터 로드 실패: " + e.message); console.error("BIZ_TY_CD 데이터 로드 실패:", e); } }; \ No newline at end of file