fix(types): improve Schema type for useForm

This commit is contained in:
Divlo
2022-09-21 09:33:09 +02:00
parent d213893d5d
commit fcc2b2ea77
7 changed files with 4083 additions and 5221 deletions

View File

@ -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} />