[Design/Routes] Welcome Screen / Initial Setup (#42)

* feat(new component): welcome screen and initial setup component

* feat(frontend): setup with login, settings, radarr/sonarr

* feat(frontend): add login functionality to login step for setup

Co-authored-by: Alexander Zoitos <azoitos1@gmail.com>
This commit is contained in:
Jeff Bentley
2020-11-12 11:03:10 +09:00
committed by GitHub
parent 06dc606bcf
commit 366074c12a
6 changed files with 249 additions and 2 deletions

View File

@@ -18,8 +18,8 @@ const PlexLoginButton: React.FC<PlexLoginButtonProps> = ({
setLoading(true);
try {
const authToken = await plexOAuth.login();
onAuthToken(authToken);
setLoading(false);
onAuthToken(authToken);
} catch (e) {
if (onError) {
onError(e.message);