mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(frontend): render simple listen report
This commit is contained in:
parent
3828b841c2
commit
ebc079435d
8 changed files with 562 additions and 1 deletions
|
|
@ -2,9 +2,10 @@ import React from "react";
|
|||
import { Route, Switch } from "react-router-dom";
|
||||
import { LoginFailure } from "./components/LoginFailure";
|
||||
import { NavBar } from "./components/NavBar";
|
||||
import { RecentListens } from "./components/RecentListens";
|
||||
import { ReportListens } from "./components/ReportListens";
|
||||
import { useAuth } from "./hooks/use-auth";
|
||||
import "./tailwind/generated.css";
|
||||
import { RecentListens } from "./components/RecentListens";
|
||||
|
||||
export function App() {
|
||||
const { isLoaded } = useAuth();
|
||||
|
|
@ -22,6 +23,7 @@ export function App() {
|
|||
<Route path="/" exact />
|
||||
<Route path="/login/failure" exact component={LoginFailure} />
|
||||
<Route path="/listens" exact component={RecentListens} />
|
||||
<Route path="/reports/listens" exact component={ReportListens} />
|
||||
</Switch>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue