From 0ef5bcaa12f3ff179a883c091bb56678b2c0f5ab Mon Sep 17 00:00:00 2001 From: Zai Shi Date: Mon, 16 Sep 2024 00:44:03 +0200 Subject: [PATCH] Update typo in docs --- docs/fern/docs/pages/customization/dark-mode.mdx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/fern/docs/pages/customization/dark-mode.mdx b/docs/fern/docs/pages/customization/dark-mode.mdx index 7fe7e9a88..d1d64dde4 100644 --- a/docs/fern/docs/pages/customization/dark-mode.mdx +++ b/docs/fern/docs/pages/customization/dark-mode.mdx @@ -32,17 +32,16 @@ Here is an example of how to set up next-themes with Stack (find more details in ```jsx 'use client'; - import { Button } from '@stackframe/stack' import { useTheme } from 'next-themes' export default function ColorModeSwitcher() { const { theme, setTheme } = useTheme() return ( - + ) } ``` -Now if you put the `ColorModeSwitcher` component in your app, you should be able to switch between light and dark mode. There should be no flickering or re-rendering of the page after reloading. \ No newline at end of file +Now if you put the `ColorModeSwitcher` component in your app, you should be able to switch between light and dark mode. There should be no flickering or re-rendering of the page after reloading.