Skip to content

Commit fb585bc

Browse files
authored
Merge pull request #178 from part3-4team-Taskify/feature/Gnb
[Fix, Refactor] 조건문 단축, 배포 에러 fix
2 parents 7df652b + 2747398 commit fb585bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/card/ChangePassword.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default function ChangePassword() {
9292
invalidMessage="비밀번호가 일치하지 않습니다."
9393
className="max-w-[624px]"
9494
/>
95-
{checkNewpassword && checkNewpassword !== newPassword && (
95+
{isPasswordMismatch && (
9696
<p className="font-14r block text-[var(--color-red)]">
9797
비밀번호가 일치하지 않습니다.
9898
</p>

src/components/input/Input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export default function Input(props: InputProps) {
117117
className={clsx(
118118
"peer flex h-[50px] w-full max-w-[520px] px-2 sm:px-4 py-2 rounded-lg transition-colors duration-200",
119119
"border border-[var(--color-gray3)] focus:border-[var(--primary)] focus:ring-0 focus:outline-none",
120-
isInvalid
120+
isInvalid || forceInvalid
121121
? "border-[var(--color-red)] focus:border-[var(--color-red)]"
122122
: "",
123123
type === "password"

0 commit comments

Comments
 (0)