revert: 가맹몰 상세 화면의 저장값 안내 배너를 뺀다
사용자 요청. 단건 SELECT 컬럼 누락은 백엔드 요청으로만 남긴다. Co-Authored-By: Claude Opus 5
@bfb7ac30ac7d67363ae1e4a07d61f7aa78007204
--- app/(protected)/(basic)/system/merchant-details/[frcsNo]/_components/merchant-detail-form.tsx
+++ app/(protected)/(basic)/system/merchant-details/[frcsNo]/_components/merchant-detail-form.tsx
... | ... | @@ -2,7 +2,6 @@ |
| 2 | 2 |
|
| 3 | 3 |
import { useRouter } from 'next/navigation';
|
| 4 | 4 |
import { useActionState, useEffect, useState } from 'react';
|
| 5 |
-import { FoxAlert } from '@fox/core/components/fox-alert';
|
|
| 6 | 5 |
import { FoxButton } from '@fox/core/components/fox-button';
|
| 7 | 6 |
import { FoxButtonGroup } from '@fox/core/components/fox-button-group';
|
| 8 | 7 |
import { FoxButtonPanel } from '@fox/core/components/fox-button-panel';
|
... | ... | @@ -148,16 +147,6 @@ |
| 148 | 147 |
{ label: '상세 정보' },
|
| 149 | 148 |
]} |
| 150 | 149 |
/> |
| 151 |
- |
|
| 152 |
- {/* TODO(백엔드): 단건 SELECT에 상세 컬럼이 빠져 저장한 값이 비어 보이고, 그대로 저장하면 빈 값으로
|
|
| 153 |
- 덮어써진다. 컬럼이 추가되면 이 안내를 지운다. */} |
|
| 154 |
- {detail && (
|
|
| 155 |
- <FoxAlert |
|
| 156 |
- type="warning" |
|
| 157 |
- title="저장한 값 일부가 비어 보입니다" |
|
| 158 |
- message="한줄 소개·카테고리·영업시간·휴무일·노출 순서·추가 이미지는 저장되지만 백엔드 조회가 아직 돌려주지 않아 여기서는 비어 보입니다. 이 상태로 [저장]하면 빈 값으로 덮어써지니 값을 다시 입력한 뒤 저장해 주세요." |
|
| 159 |
- /> |
|
| 160 |
- )} |
|
| 161 | 150 |
|
| 162 | 151 |
<form |
| 163 | 152 |
id="merchant-detail-form" |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?