chore: cleanup

This commit is contained in:
Divlo
2021-12-28 16:06:58 +01:00
parent accd36d1fc
commit 91e246b759
28 changed files with 21766 additions and 11026 deletions

View File

@ -1,3 +1,4 @@
import { NextPage } from 'next'
import Link from 'next/link'
import { AuthenticationForm } from 'components/Authentication'
import useTranslation from 'next-translate/useTranslation'
@ -16,7 +17,7 @@ import { userSchema } from 'models/User'
import { api } from 'utils/api'
import { HandleSubmitCallback, useForm } from 'hooks/useForm'
const ForgotPassword: React.FC<FooterProps> = (props) => {
const ForgotPassword: NextPage<FooterProps> = (props) => {
const { t } = useTranslation()
const { version } = props

View File

@ -1,3 +1,4 @@
import { NextPage } from 'next'
import { useRouter } from 'next/router'
import useTranslation from 'next-translate/useTranslation'
import axios from 'axios'
@ -16,7 +17,7 @@ import { api } from 'utils/api'
import { userSchema } from '../../models/User'
import { HandleSubmitCallback, useForm } from 'hooks/useForm'
const ResetPassword: React.FC<FooterProps> = (props) => {
const ResetPassword: NextPage<FooterProps> = (props) => {
const { t } = useTranslation()
const router = useRouter()
const { version } = props

View File

@ -1,3 +1,4 @@
import { NextPage } from 'next'
import useTranslation from 'next-translate/useTranslation'
import { Head } from 'components/Head'
@ -7,7 +8,7 @@ import { Footer, FooterProps } from 'components/Footer'
import { authenticationFromServerSide } from 'utils/authentication'
import { ScrollableBody } from 'components/ScrollableBody'
const Signin: React.FC<FooterProps> = (props) => {
const Signin: NextPage<FooterProps> = (props) => {
const { version } = props
const { t } = useTranslation()

View File

@ -1,3 +1,4 @@
import { NextPage } from 'next'
import useTranslation from 'next-translate/useTranslation'
import { Head } from 'components/Head'
@ -7,7 +8,7 @@ import { Footer, FooterProps } from 'components/Footer'
import { authenticationFromServerSide } from 'utils/authentication'
import { ScrollableBody } from 'components/ScrollableBody'
const Signup: React.FC<FooterProps> = (props) => {
const Signup: NextPage<FooterProps> = (props) => {
const { version } = props
const { t } = useTranslation()