fix: resolve type errors across the codebase
This commit is contained in:
parent
10bb4eba97
commit
12754bd0aa
6 changed files with 34 additions and 22 deletions
|
|
@ -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('')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue