From bb7af0e866aad0a1e20f0808ed51e83490d56908 Mon Sep 17 00:00:00 2001 From: alorig <220087330+alorig@users.noreply.github.com> Date: Tue, 18 Nov 2025 22:19:31 +0500 Subject: [PATCH] Update ThemeContext.tsx --- frontend/src/context/ThemeContext.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/context/ThemeContext.tsx b/frontend/src/context/ThemeContext.tsx index 1e6cc7d6..8432dbd3 100644 --- a/frontend/src/context/ThemeContext.tsx +++ b/frontend/src/context/ThemeContext.tsx @@ -1,7 +1,4 @@ -"use client"; - -import type React from "react"; -import { createContext, useState, useContext, useEffect } from "react"; +import React, { createContext, useState, useContext, useEffect } from "react"; type Theme = "light" | "dark";