refactor new file download functions to new file

This commit is contained in:
spencerwooo
2021-12-17 21:21:25 +08:00
parent 9c5a6e6211
commit 93376e071e
13 changed files with 247 additions and 223 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import Image from 'next/image'
import { useRouter } from 'next/router'
import { FunctionComponent } from 'react'
import { matchProtectedRoute } from '../utils/tools'
import { matchProtectedRoute } from '../utils/protectedRouteHandler'
import useLocalStorage from '../utils/useLocalStorage'
const Auth: FunctionComponent<{ redirect: string }> = ({ redirect }) => {