Skip to content

Commit

Permalink
fix more lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Dec 12, 2024
1 parent 4374650 commit d8ed52c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function DataColorThemes(): JSX.Element {
onChange={(value) => {
const theme = themes.find((theme) => theme.id === value)
LemonDialog.open({
title: `Change the default data theme to "${theme.name}"?`,
title: `Change the default data theme to "${theme!.name}"?`,
description: 'This changes the default colors used when visualizing data in insights.',
primaryButton: {
children: 'Change default theme',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { dataColorThemesLogicType } from './dataColorThemesLogicType'
export const dataColorThemesLogic = kea<dataColorThemesLogicType>([
path(['scenes', 'settings', 'environment', 'dataColorThemesLogic']),
connect({
values: [dataThemeLogic, ['themes', 'themesLoading', 'posthogTheme']],
values: [dataThemeLogic, ['themes', 'themesLoading', 'defaultTheme', 'posthogTheme']],
actions: [dataColorThemesModalLogic, ['openModal']],
}),
actions({
Expand Down

0 comments on commit d8ed52c

Please sign in to comment.