diff --git a/components/Auth.tsx b/components/Auth.tsx index 515612e..fc27997 100644 --- a/components/Auth.tsx +++ b/components/Auth.tsx @@ -25,30 +25,31 @@ const Auth: FunctionComponent<{ redirect: string }> = ({ redirect }) => { enter it below.

- { - setToken(e.target.value) - }} - onKeyPress={e => { - if (e.key === 'Enter' || e.key === 'NumpadEnter') { +
+ { + setToken(e.target.value) + }} + onKeyPress={e => { + if (e.key === 'Enter' || e.key === 'NumpadEnter') { + router.reload() + } + }} + /> + + }} + > + + +
) } diff --git a/components/DownloadBtn.tsx b/components/DownloadBtn.tsx index 66798a7..2aacb53 100644 --- a/components/DownloadBtn.tsx +++ b/components/DownloadBtn.tsx @@ -21,7 +21,7 @@ const DownloadBtn: FunctionComponent<{ downloadUrl: string }> = ({ downloadUrl } }} /> = ({ downloadUrl } Download = ({ file }) => { IINA = ({ file }) => { VLC