Merge pull request #21854 from overleaf/as-checkout-name-fields

Add new Name fields for Checkout Redesign

GitOrigin-RevId: 448084e026a86510efe3c76c6663c0a770c24f8e
This commit is contained in:
M Fahru
2024-11-14 09:21:30 -07:00
committed by Copybot
parent e588b0748a
commit 9dba1ccd8f

View File

@@ -1,6 +1,6 @@
import { useState } from 'react'
type Target = HTMLInputElement | HTMLSelectElement
type Target = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
function useValidateField<T extends { target: Target }>() {
const [isValid, setIsValid] = useState(true)