fix: resolve type errors across the codebase

This commit is contained in:
Aarnav Tale 2024-11-04 18:13:10 -05:00
parent 10bb4eba97
commit 12754bd0aa
No known key found for this signature in database
6 changed files with 34 additions and 22 deletions

View file

@ -18,7 +18,7 @@ export interface NewProps {
}
export default function New(data: NewProps) {
const fetcher = useFetcher()
const fetcher = useFetcher<{ success?: boolean }>()
const mkeyState = useState(false)
const [mkey, setMkey] = useState('')
const [user, setUser] = useState('')