fix(types): improve Schema type for useForm
This commit is contained in:
1012
example/package-lock.json
generated
1012
example/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -11,26 +11,26 @@
|
||||
"test:dev": "start-server-and-test \"dev\" \"http://localhost:3000\" \"cypress open\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@sinclair/typebox": "0.24.28",
|
||||
"@sinclair/typebox": "0.24.42",
|
||||
"clsx": "1.2.1",
|
||||
"next": "12.2.5",
|
||||
"next-themes": "0.2.0",
|
||||
"next-translate": "1.5.0",
|
||||
"next": "12.3.1",
|
||||
"next-themes": "0.2.1",
|
||||
"next-translate": "1.6.0",
|
||||
"react": "18.2.0",
|
||||
"react-component-form": "file:..",
|
||||
"react-dom": "18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "18.7.13",
|
||||
"@types/react": "18.0.17",
|
||||
"@types/node": "18.7.18",
|
||||
"@types/react": "18.0.20",
|
||||
"@types/react-dom": "18.0.6",
|
||||
"autoprefixer": "10.4.8",
|
||||
"cypress": "10.6.0",
|
||||
"eslint": "8.22.0",
|
||||
"eslint-config-next": "12.2.5",
|
||||
"autoprefixer": "10.4.12",
|
||||
"cypress": "10.8.0",
|
||||
"eslint": "8.23.1",
|
||||
"eslint-config-next": "12.3.1",
|
||||
"postcss": "8.4.16",
|
||||
"start-server-and-test": "1.14.0",
|
||||
"tailwindcss": "3.1.8",
|
||||
"typescript": "4.8.2"
|
||||
"typescript": "4.8.3"
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,9 @@
|
||||
import type { AppProps } from 'next/app'
|
||||
import type { AppType } from 'next/app'
|
||||
import { ThemeProvider } from 'next-themes'
|
||||
|
||||
import '../styles/globals.css'
|
||||
|
||||
const MyApp = ({ Component, pageProps }: AppProps): JSX.Element => {
|
||||
const MyApp: AppType = ({ Component, pageProps }) => {
|
||||
return (
|
||||
<ThemeProvider attribute='class' defaultTheme='dark'>
|
||||
<Component {...pageProps} />
|
||||
|
Reference in New Issue
Block a user