From 8eb52ad3dfe4342310b73ccdf04bf21078f6a26c Mon Sep 17 00:00:00 2001 From: Spencer Woo Date: Sun, 2 Jan 2022 15:32:16 +0000 Subject: [PATCH] various style issues, fix #218, #223 --- components/Auth.tsx | 4 +- components/DownloadBtnGtoup.tsx | 2 +- components/FileListing.tsx | 4 +- components/FourOhFour.tsx | 2 +- components/Navbar.tsx | 31 +- package-lock.json | 8444 +----------------- pages/onedrive-vercel-index-oauth/step-1.tsx | 2 +- pages/onedrive-vercel-index-oauth/step-2.tsx | 1 + pages/onedrive-vercel-index-oauth/step-3.tsx | 8 +- 9 files changed, 63 insertions(+), 8435 deletions(-) diff --git a/components/Auth.tsx b/components/Auth.tsx index ce1b18f..29d2ef5 100644 --- a/components/Auth.tsx +++ b/components/Auth.tsx @@ -12,12 +12,12 @@ const Auth: FunctionComponent<{ redirect: string }> = ({ redirect }) => { const router = useRouter() const [token, setToken] = useState('') - const [persistedToken, setPersistedToken] = useLocalStorage(authTokenPath, '') + const [_, setPersistedToken] = useLocalStorage(authTokenPath, '') return (
- authenticate + authenticate
Enter Password
diff --git a/components/DownloadBtnGtoup.tsx b/components/DownloadBtnGtoup.tsx index 2b52570..3a354a0 100644 --- a/components/DownloadBtnGtoup.tsx +++ b/components/DownloadBtnGtoup.tsx @@ -53,7 +53,7 @@ export const DownloadButton = ({ onClick={onClickCallback} > {btnIcon && } - {btnImage && {btnImage}} + {btnImage && {btnImage}} {btnText} ) diff --git a/components/FileListing.tsx b/components/FileListing.tsx index 889a282..c96111a 100644 --- a/components/FileListing.tsx +++ b/components/FileListing.tsx @@ -359,7 +359,7 @@ const FileListing: FunctionComponent<{ query?: ParsedUrlQuery }> = ({ query }) = ) : (