diff --git a/apps/docs/content/docs/customization/dark-mode.mdx b/apps/docs/content/docs/customization/dark-mode.mdx index a2c3132249..be49a4a8ab 100644 --- a/apps/docs/content/docs/customization/dark-mode.mdx +++ b/apps/docs/content/docs/customization/dark-mode.mdx @@ -204,24 +204,6 @@ Install `@heroui/use-theme` in your project. }} /> -### Add the current theme to the main element - -```jsx -// App.tsx or App.jsx -import React from "react"; -import {useTheme} from "@heroui/use-theme"; - -export default function App() { - const {theme} = useTheme(); - - return ( -
- -
- ) -} -``` - ### Add the theme switcher Add the theme switcher to your app.