Skip to content

Commit

Permalink
refactor: move MainSlider to sliders folder
Browse files Browse the repository at this point in the history
  • Loading branch information
AlkenD committed Jul 23, 2024
1 parent 5706fcc commit b287c55
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { EffectFade, Navigation } from "swiper/modules";
import "swiper/css/effect-fade";
import "swiper/css";
import "swiper/css/navigation";
import Button from "../actions/Button";
import IconButton from "../actions/IconButton";
import { APP_PATHS } from "../../../config/config";
import Button from "../../actions/Button";
import IconButton from "../../actions/IconButton";
import { APP_PATHS } from "../../../../config/config";

const MainSlider = ({ data = [], type = "movie" }: any) => {
// const [images, setImages] = useState<any>({});
Expand Down
2 changes: 1 addition & 1 deletion src/lib/pages/BrowsePage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MainSlider from "../components/logic/MainSlider";
import MainSlider from "../components/logic/Sliders/MainSlider";
import ContentSlider from "../components/logic/Sliders/ContentSlider";
import TransitionWrapper from "./TransitionWrapper";
import { useLoaderData } from "react-router-dom";
Expand Down
2 changes: 1 addition & 1 deletion src/lib/pages/HomePage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MainSlider from "../components/logic/MainSlider";
import MainSlider from "../components/logic/Sliders/MainSlider";
import ContentSlider from "../components/logic/Sliders/ContentSlider";
import TransitionWrapper from "./TransitionWrapper";
import { useLoaderData } from "react-router-dom";
Expand Down

0 comments on commit b287c55

Please sign in to comment.