Skip to content

Commit

Permalink
Use prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
selenaliu1 committed Mar 5, 2024
1 parent 0dde735 commit 3d1892d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/EmployeeModal/EmployeeInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const EmployeeInfo = ({
className={cn(styles.input)}
ref={register({
required: true,
pattern: /^\d{3}-?\d{3}-?\d{4}$/ //phone numbers can optionally take dashes
pattern: /^\d{3}-?\d{3}-?\d{4}$/, //phone numbers can optionally take dashes
})}
/>
{formState.errors.phoneNumber && (
Expand Down

0 comments on commit 3d1892d

Please sign in to comment.