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 }) = ) : (