'use client'; import GlobalContext from '@/context/GlobalContext'; import { useContext } from 'react'; import { RiContrastLine } from 'react-icons/ri'; const ThemeSwitch = () => { const { theme, setTheme } = useContext(GlobalContext).themeContext; return (