refactor login form

This commit is contained in:
2024-07-13 19:15:21 +02:00
parent 7c562e8057
commit fd076517dc
10 changed files with 241 additions and 185 deletions

View File

@@ -0,0 +1,6 @@
import { useId } from 'react'
export const useAutoId = (id?: string) => {
const generatedId = useId()
return id ?? generatedId
}