Skip to content

Commit

Permalink
added route for album stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Yooooomi committed Feb 28, 2024
1 parent e539bb9 commit 36f3dd4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { selectDarkMode } from "./services/redux/modules/user/selector";
import PlaylistDialog from "./components/PlaylistDialog";
import TrackStats from "./scenes/TrackStats";
import LongestSessions from "./scenes/LongestSessions";
import AlbumStats from "./scenes/AlbumStats";

function App() {
const dark = useSelector(selectDarkMode);
Expand Down Expand Up @@ -144,6 +145,14 @@ function App() {
</PrivateRoute>
}
/>
<Route
path="/album/:id"
element={
<PrivateRoute>
<AlbumStats />
</PrivateRoute>
}
/>
<Route
path="/song/:id"
element={
Expand Down

0 comments on commit 36f3dd4

Please sign in to comment.