prettier fix
This commit is contained in:
@@ -15,7 +15,7 @@ export function toTitleCase(str?: string) {
|
||||
?.toLowerCase()
|
||||
.replace(/[^-'’\s]+/g, (match) =>
|
||||
match.replace(/^./, (first) => first.toUpperCase()),
|
||||
) ?? ""
|
||||
) ?? ''
|
||||
);
|
||||
}
|
||||
|
||||
@@ -140,6 +140,6 @@ export default class PersonalCode {
|
||||
gender,
|
||||
dob: parsed.getBirthday(),
|
||||
age: parsed.getAge(),
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user