From 0708ddd936f08c1c5ac733f946ce6461a03c9740 Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Wed, 9 Sep 2026 15:06:15 +0900 Subject: [PATCH] =?UTF-8?q?260909=5F01=5FENH:=20=EB=AC=B8=EC=9E=90=20?= =?UTF-8?q?=EB=AF=B8=EB=A6=AC=EB=B3=B4=EA=B8=B0=EB=8A=94=20=EC=9D=98?= =?UTF-8?q?=EB=AF=B8=EA=B0=80=20=EC=97=86=EC=96=B4=EC=84=9C=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/components/dialog/SmsSendDialog.tsx | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.env.development b/.env.development index 0e4c0c6..9a396d2 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,6 @@ -NEXT_PUBLIC_ENV=prod +NEXT_PUBLIC_ENV=dev NEXT_PUBLIC_API_BASE=https://test-gwcf-review.kric.com/api -ENV=prod +ENV=dev API_BACK_SERVER=http://127.0.0.1:6105/api/v1 NOTI_HUB_SERVER=https://noti-hub.kric.com/api/v1 \ No newline at end of file diff --git a/src/components/dialog/SmsSendDialog.tsx b/src/components/dialog/SmsSendDialog.tsx index b574a32..92447ab 100644 --- a/src/components/dialog/SmsSendDialog.tsx +++ b/src/components/dialog/SmsSendDialog.tsx @@ -24,7 +24,7 @@ import {SaveTemplateRequest, Template} from "@/types/notification"; import {UserCompact} from "@/types/gwcf"; import {getDetailValue} from "@/lib/gwcf/view"; import {useAuth} from "@/hooks/useAuth"; -import {buildTemplatePreviewBody, buildUserMsgParam, getSmsByteLength, isPhoneVerificationSupported} from "@/lib/gwcf/notification"; +import { buildUserMsgParam, isPhoneVerificationSupported} from "@/lib/gwcf/notification"; import {getSmsParamLabel} from "@/lib/gwcf/field-labels"; import {TMPLAT_PURPOSE} from "@/types/notification"; @@ -209,7 +209,6 @@ export function SmsSendDialog({ setDraft(null); }; - const previewBody = draft ? buildTemplatePreviewBody(draft) : ""; const isSmsOrLms = draft ? isPhoneVerificationSupported(draft) : false; const send = async () => { @@ -356,11 +355,6 @@ export function SmsSendDialog({ className="min-h-80 w-full rounded-md border border-input bg-background p-3 text-sm disabled:cursor-not-allowed disabled:opacity-70" /> -
-
미리보기
-
{previewBody}
- {isSmsOrLms &&
{getSmsByteLength(previewBody)} bytes
} -
{msgParamKeys.length > 0 && (
사용 가능 변수값