diff --git a/src/pages/Discover.tsx b/src/pages/Discover.tsx index 5724fdce..61a5c660 100644 --- a/src/pages/Discover.tsx +++ b/src/pages/Discover.tsx @@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react"; import { Helmet } from "react-helmet-async"; import { useTranslation } from "react-i18next"; -import { Spinner } from "@/components/layout/Spinner"; +import { Loading } from "@/components/layout/Loading"; import DiscoverContent from "@/utils/discoverContent"; import { SubPageLayout } from "./layouts/SubPageLayout"; @@ -64,7 +64,7 @@ export function Discover() { {/* Conditional rendering: show loading screen or the content */} {loading ? (
- +

Fetching the latest movies & TV shows...

diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index ec51911f..d8a5b10c 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -2,7 +2,7 @@ import { useEffect, useState } from "react"; import { Helmet } from "react-helmet-async"; import { useTranslation } from "react-i18next"; -import { Spinner } from "@/components/layout/Spinner"; +import { Loading } from "@/components/layout/Loading"; import { WideContainer } from "@/components/layout/WideContainer"; import { useDebounce } from "@/hooks/useDebounce"; import { useRandomTranslation } from "@/hooks/useRandomTranslation"; @@ -96,7 +96,7 @@ export function HomePage() { {/* Conditional rendering: show loading screen or the content */} {loading ? (
- +

Fetching the latest movies & TV shows...