mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-22 23:06:23 +00:00
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:
parent
e588b0748a
commit
9dba1ccd8f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue