Skip to content

Commit 0ba0510

Browse files
봄봄
authored andcommitted
fix: 빌드 에러 해결
1 parent c424ce4 commit 0ba0510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/component/SignupTextField/validation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function validateField(type: 'name' | 'birth' | 'job', value: string): st
1717
if (!BIRTH_REGEX.test(value)) {
1818
return ERROR_MESSAGES.birth;
1919
}
20-
const [year, month, day] = value.split('-');
20+
const [month, day] = value.split('-');
2121
const monthNum = parseInt(month, 10);
2222
if (monthNum < 1 || monthNum > 12) {
2323
return ERROR_MESSAGES.birth;

0 commit comments

Comments
 (0)