Skip to content

Commit aa4f59c

Browse files
committed
fix: 주문 확인 페이지 체크박스 위치 수정
1 parent 35c38d6 commit aa4f59c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/pages/cart/OrderConfirmPage.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,14 @@ export default function OrderConfirmPage() {
138138
<div style={{ color: "#6b7280", fontSize: 14 }}>배송지 정보를 불러오는 중...</div>
139139
) : (
140140
<>
141+
<CheckboxLabel>
142+
<input
143+
type="checkbox"
144+
checked={saveAsDefault}
145+
onChange={(e) => setSaveAsDefault(e.target.checked)}
146+
/>
147+
기본 배송지로 설정
148+
</CheckboxLabel>
141149
<input
142150
type="text"
143151
value={shippingAddress}
@@ -161,14 +169,6 @@ export default function OrderConfirmPage() {
161169
e.currentTarget.style.borderColor = "#e5e7eb";
162170
}}
163171
/>
164-
<CheckboxLabel>
165-
<input
166-
type="checkbox"
167-
checked={saveAsDefault}
168-
onChange={(e) => setSaveAsDefault(e.target.checked)}
169-
/>
170-
기본 배송지로 설정
171-
</CheckboxLabel>
172172
</>
173173
)}
174174
</Section>

0 commit comments

Comments
 (0)