setOpenAvatarModal(true)} className="h-24 cursor-pointer w-24 relative lg:h-32 lg:w-32 rounded-full bg-white text-black flex justify-center items-center ">
{profilePicture ?
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 54fe204..d595d59 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -10,9 +10,7 @@ import "./globals.css";
import Footer from "@/components/shared/Footer";
import ScrollToTop from "@/components/shared/ScrollToTop";
-import { ThemeChildren } from "@/components/ThemeChildren";
import { UserProvider } from "@/context/getUserDetails";
-import { ThemeProvider } from "@/context/themeChange";
import { ProfileProvider } from "@/hooks/useprofile";
const inter = Inter({ subsets: ["latin"] });
@@ -29,25 +27,23 @@ export default function RootLayout({ children }: { children: React.ReactNode })
return (
-
-
-
-
-
-
-
-
-
-
-
- {children}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
);
diff --git a/src/components/ThemeChildren.tsx b/src/components/ThemeChildren.tsx
deleted file mode 100644
index 3811103..0000000
--- a/src/components/ThemeChildren.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-"use client";
-import React from "react";
-
-import { useTheme } from "@/context/themeChange";
-
-export const ThemeChildren = ({ children }: { children: React.ReactNode }) => {
- const { theme } = useTheme();
-
- return
{children}
;
-};
diff --git a/src/components/appName.tsx b/src/components/appName.tsx
deleted file mode 100644
index cd4b153..0000000
--- a/src/components/appName.tsx
+++ /dev/null
@@ -1,16 +0,0 @@
-"use client";
-import React from "react";
-import Link from "next/link";
-
-import { useTheme } from "@/context/themeChange";
-
-const AppName = () => {
- const { theme } = useTheme();
- return (
-
- Anime
Trix
-
- );
-};
-
-export default AppName;
diff --git a/src/components/loading/AiringScheduleLoading.tsx b/src/components/loading/AiringScheduleLoading.tsx
index d19c6ab..af35de5 100644
--- a/src/components/loading/AiringScheduleLoading.tsx
+++ b/src/components/loading/AiringScheduleLoading.tsx
@@ -3,15 +3,12 @@ import React from "react";
import SpinLoading from "./SpinLoading";
-import { useTheme } from "@/context/themeChange";
-
const AiringScheduleLoading = () => {
- const { theme } = useTheme();
return (
Airing
-
diff --git a/src/components/loading/SpinLoading.tsx b/src/components/loading/SpinLoading.tsx
index fac44b8..76e9f0b 100644
--- a/src/components/loading/SpinLoading.tsx
+++ b/src/components/loading/SpinLoading.tsx
@@ -1,12 +1,10 @@
"use client";
import React from "react";
-import { useTheme } from "@/context/themeChange";
const SpinLoading = () => {
- const { theme } = useTheme();
return (
-