mirror of
https://github.com/ershisan99/podcaster.git
synced 2025-12-16 20:59:26 +00:00
chore: move episode to components, since it's not exactly a page, just a part of one
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useParams } from "react-router-dom";
|
||||
import { usePodcastQuery } from "../services/podcasts/podcast.hooks";
|
||||
import { useTitle } from "../hooks/use-title";
|
||||
import { usePodcastQuery } from "../../services/podcasts/podcast.hooks";
|
||||
import { useTitle } from "../../hooks/use-title";
|
||||
|
||||
export function Episode() {
|
||||
const { podcastId, episodeId } = useParams<{
|
||||
1
src/components/episode/index.ts
Normal file
1
src/components/episode/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./episode";
|
||||
@@ -1,7 +1,7 @@
|
||||
import { createBrowserRouter, RouterProvider } from "react-router-dom";
|
||||
import { Home } from "./pages/home";
|
||||
import { Podcast } from "./pages/podcast";
|
||||
import { Episode } from "./pages/episode";
|
||||
import { Episode } from "./components/episode";
|
||||
import { PodcastEpisodesList } from "./components/podcast/podcast-episodes-list";
|
||||
import { Layout } from "./components/ui/layout/layout";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user