mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(frontend): nice login loading screen
This commit is contained in:
parent
01ed0c5491
commit
a443b3ddbc
2 changed files with 20 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ import React from "react";
|
|||
import { Route, Routes } from "react-router-dom";
|
||||
import { Footer } from "./components/Footer";
|
||||
import { LoginFailure } from "./components/LoginFailure";
|
||||
import { LoginLoading } from "./components/LoginLoading";
|
||||
import { LoginSuccess } from "./components/LoginSuccess";
|
||||
import { NavBar } from "./components/NavBar";
|
||||
import { RecentListens } from "./components/RecentListens";
|
||||
|
|
@ -16,7 +17,7 @@ export function App() {
|
|||
const { isLoaded } = useAuth();
|
||||
|
||||
if (!isLoaded) {
|
||||
return <div>Loading...</div>;
|
||||
return <LoginLoading />;
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue