diff --git a/packages/website/components/ThemeButton/index.tsx b/packages/website/components/ThemeButton/index.tsx index 915f547a4..8b2dc0420 100644 --- a/packages/website/components/ThemeButton/index.tsx +++ b/packages/website/components/ThemeButton/index.tsx @@ -11,7 +11,19 @@ export default function (props: { defaultTheme: "auto" | "dark" | "light" }) { if (!showChild) { // You can show some kind of placeholder UI here - return null; + return