Skip to content

Commit

Permalink
Fix: 디자인 및 객실 가격 수정 (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
syb0127 authored Jan 28, 2024
1 parent eac07bb commit 41edfbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/room/price-container/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const PriceContainer = ({ header, form }: PriceContainerProps) => {
useEffect(() => {
setOutOfRangeError(null);
form.setFieldValue('price', numericValue?.toLocaleString());
if (!numericValue) return;
if (numericValue === null) return;
if (numericValue < MIN_PRICE || numericValue > MAX_PRICE) {
setOutOfRangeError('10,000~1,000,000까지만 입력 가능합니다.');
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/room-management/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const RoomManagement = () => {
export default RoomManagement;

const StyledPageContainer = styled(Card)`
padding: 16px 48px;
padding: 32px 48px;
border: none;
margin: 0;
`;
Expand Down

0 comments on commit 41edfbd

Please sign in to comment.