Skip to content

Commit

Permalink
fix: text => number 로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kimeodml committed Apr 10, 2024
1 parent 1504628 commit df190c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/page/MyShopPage/components/EditShopInfoModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ EditShopInfoModalProps) {
<label htmlFor="deliveryPrice" className={styles['main-info']}>
<span className={styles['main-info__header']}>배달금액</span>
<input
type="text"
type="number"
id="deliveryPrice"
value={deliveryPrice === 0 ? '' : deliveryPrice}
onChange={(e) => setDeliveryPrice(Number(e.target.value))}
Expand Down
2 changes: 1 addition & 1 deletion src/page/ShopRegistration/view/Mobile/Sub/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function Sub() {
>
배달금액
<input
type="text"
type="number"
id="deliveryPrice"
onChange={(e) => setDeliveryPrice(Number(e.target.value))}
value={deliveryPrice}
Expand Down

0 comments on commit df190c7

Please sign in to comment.