Skip to content

Commit

Permalink
Update packages/docusaurus-theme-classic/src/theme/hooks/useTheme.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber authored Dec 4, 2020
1 parent b2b8e25 commit 2ffa4df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const storeTheme = (newTheme) => {

const useTheme = (): useThemeReturns => {
const {
colorMode: {disableSwitch = false, respectPrefersColorScheme = true},
colorMode: {disableSwitch, respectPrefersColorScheme},
} = useThemeConfig();
const [theme, setTheme] = useState(getInitialTheme);

Expand Down

0 comments on commit 2ffa4df

Please sign in to comment.