Skip to content

Commit

Permalink
Merge pull request #330 from prgrms-web-devcourse-final-project/chore/#…
Browse files Browse the repository at this point in the history
…329

chore: 최저 입찰가로 수정
  • Loading branch information
y0unj1NoH authored Dec 9, 2024
2 parents 00b24a8 + f56a1ca commit 9720835
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/organisms/PostRegisterForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,20 +179,20 @@ export const PostRegisterForm = ({
name='minimumPrice'
control={control}
rules={{
required: "최종 입찰가는 필수 입력 항목입니다.",
required: "최저 입찰가는 필수 입력 항목입니다.",
}}
render={({ field: { value }, fieldState: { invalid }, formState }) => (
<DivWrapper>
<LabeledInput
type='number'
id='product-minimumPrice'
label='최종 입찰가'
label='최저 입찰가'
value={value || ""}
setValue={(value) => {
console.log("price", value);
setValue("minimumPrice", value);
}}
placeholder='최종 입찰가를 입력해주세요.'
placeholder='최저 입찰가를 입력해주세요.'
/>
{invalid && (
<div style={{ color: "#FF2E4D" }}>
Expand Down

0 comments on commit 9720835

Please sign in to comment.