feat: add top-artists report

This commit is contained in:
Julian Tölle 2020-05-31 23:26:06 +02:00
parent 6a6ba493f6
commit 6fc10c40ca
18 changed files with 345 additions and 30 deletions

View file

@ -7,6 +7,7 @@ import { RecentListens } from "./components/RecentListens";
import { ReportListens } from "./components/ReportListens";
import { useAuth } from "./hooks/use-auth";
import "./tailwind/generated.css";
import { ReportTopArtists } from "./components/ReportTopArtists";
export function App() {
const { isLoaded } = useAuth();
@ -26,6 +27,7 @@ export function App() {
<Route path="/login/failure" exact component={LoginFailure} />
<Route path="/listens" exact component={RecentListens} />
<Route path="/reports/listens" exact component={ReportListens} />
<Route path="/reports/top-artists" exact component={ReportTopArtists} />
</Switch>
</div>
);