From 2eb40b6303168e29317c1b406b444df9f507927b Mon Sep 17 00:00:00 2001 From: Ayush Sharma Date: Sun, 27 Oct 2024 18:57:18 +0530 Subject: [PATCH] fix: logo --- theme.config.jsx | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/theme.config.jsx b/theme.config.jsx index d445d89..6a94515 100644 --- a/theme.config.jsx +++ b/theme.config.jsx @@ -3,11 +3,18 @@ import { useRouter } from 'next/router' const Logo = () => { const { resolvedTheme } = useTheme(); - if (resolvedTheme === 'dark') { - return - } else { - return - } + + return ( + <> + { + resolvedTheme === 'dark' ? ( + ElegantOTA + ) : ( + ElegantOTA + ) + } + + ); } const config = {