mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 23:16:47 +00:00
🚅
This commit is contained in:
@@ -50,7 +50,7 @@ export const NotionPage: React.FC<types.PageProps> = ({
|
||||
// TODO: add ability to toggle dark mode
|
||||
const [isDarkMode, setDarkMode] = useLocalStorage(
|
||||
'notionx-dark-mode',
|
||||
dark !== null ? dark === true : !!site?.darkMode
|
||||
dark !== null ? dark === 'true' : !!site?.darkMode
|
||||
)
|
||||
|
||||
const isLiteMode = lite === 'true'
|
||||
|
||||
Reference in New Issue
Block a user