From 3964c884293cd5cf1aff35fe5e9af3f518d0d936 Mon Sep 17 00:00:00 2001 From: Mr-Sheep <24599209+Mr-Sheep@users.noreply.github.com> Date: Sat, 18 Nov 2023 21:24:13 -0600 Subject: [PATCH] default theme --- app/components/logo.tsx | 13 +++++++++++-- app/components/theme-switch.tsx | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/app/components/logo.tsx b/app/components/logo.tsx index 5c857f6..d4b3ea9 100644 --- a/app/components/logo.tsx +++ b/app/components/logo.tsx @@ -1,4 +1,3 @@ -import { useState, useEffect } from "react"; import Image from "next/image"; import TWrapper from "./typewriter"; import React from "react"; @@ -6,12 +5,22 @@ import { useTheme } from "next-themes"; const Chicken: React.FC = () => { const { theme } = useTheme(); + const effectiveTheme = theme ?? "light"; + // const [clientTheme, setClientTheme] = useState(theme); + + // useEffect(() => { + // setClientTheme(theme); + // }, [theme]); return (
WCU Logo { return (