Skip to content

Commit 01591fa

Browse files
committed
fix prettier
1 parent fa33e0e commit 01591fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/AddPaymentCard/PaymentCardForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ function PaymentCardForm({
144144

145145
const previousValueRef = useRef<string>('');
146146

147-
// Formats user input into a valid expiration date (MM/YY) and automatically adds slash after the month.
148-
// Ensures the month is always between 01 and 12 by correcting invalid value to match the proper format.
147+
// Formats user input into a valid expiration date (MM/YY) and automatically adds slash after the month.
148+
// Ensures the month is always between 01 and 12 by correcting invalid value to match the proper format.
149149
const onChangeExpirationDate = useCallback((newValue: string) => {
150150
if (typeof newValue !== 'string') {
151151
return;

0 commit comments

Comments
 (0)