Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Nov 22, 2023
1 parent 481ce47 commit c1e9a02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/layout/navigation-3000/themeLogic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { sceneLogic } from 'scenes/sceneLogic'
export const themeLogic = kea<themeLogicType>([
path(['layout', 'navigation-3000', 'themeLogic']),
actions({
toggleTheme: (state: boolean | null) => ({ state }),
overrideTheme: (darkModePreference: boolean) => ({ darkModePreference }),
toggleTheme: true,
overrideTheme: (darkModePreference: boolean | null) => ({ darkModePreference }),
syncDarkModePreference: (darkModePreference: boolean) => ({ darkModePreference }),
}),
reducers({
Expand Down

0 comments on commit c1e9a02

Please sign in to comment.