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 = {