refactor: useAlertStore 사용부 리팩토링

This commit is contained in:
2025-05-28 16:25:00 +09:00
parent f06a8e9637
commit 34ed19d14e
70 changed files with 70 additions and 73 deletions
@@ -52,7 +52,7 @@ const LwpoCodeManagementDialog = memo(
const isRegistration = !lwpoCd;
const { confirm } = useConfirm();
const { setMessage: alert } = useAlertStore((state) => state);
const alert = useAlertStore((state) => state.setMessage);
const { data: detailData } = useQuery({
queryKey: [ENDPOINT.CMS_SERVICE.LWPO_CODE, upCd, lwpoCd],
+1 -1
View File
@@ -51,7 +51,7 @@ const UpCodeManagementDialog = memo(
const isRegistration = !upCd;
const { confirm } = useConfirm();
const { setMessage: alert } = useAlertStore((state) => state);
const alert = useAlertStore((state) => state.setMessage);
const { data: detailData } = useQuery({
queryKey: [ENDPOINT.CMS_SERVICE.UP_CODE, upCd],