Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
y0unj1NoH committed Dec 8, 2024
2 parents a2260ef + 0c0f641 commit 4d9b1d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/organisms/PostRegisterForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const PostRegisterForm = ({
theme.colors.black}`,
}}
>
<Text variant='explan_regular' content={error?.message || ""} />{" "}
<Text variant='explan_regular' content={error?.message || ""} />
</div>
)}
</DivWrapper>
Expand Down Expand Up @@ -216,10 +216,11 @@ export const PostRegisterForm = ({
fieldState: { invalid },
formState,
}) => {
console.log("expiredTime", postForm?.expiredTime);
const expiredTimeDisabled = isISOFormat(
postForm?.expiredTime as string
);

const formattedTime = expiredTimeDisabled
? formatToDateTime(postForm?.expiredTime as string)
: "";
Expand Down

0 comments on commit 4d9b1d1

Please sign in to comment.