From d8ed52c5c6d36336674085289a8abd1a3653ddb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Obermu=CC=88ller?= Date: Thu, 12 Dec 2024 14:14:18 +0100 Subject: [PATCH] fix more lint issues --- frontend/src/scenes/settings/environment/DataColorThemes.tsx | 2 +- .../src/scenes/settings/environment/dataColorThemesLogic.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/scenes/settings/environment/DataColorThemes.tsx b/frontend/src/scenes/settings/environment/DataColorThemes.tsx index b25d220f697a9..cd8481d3ba753 100644 --- a/frontend/src/scenes/settings/environment/DataColorThemes.tsx +++ b/frontend/src/scenes/settings/environment/DataColorThemes.tsx @@ -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', diff --git a/frontend/src/scenes/settings/environment/dataColorThemesLogic.ts b/frontend/src/scenes/settings/environment/dataColorThemesLogic.ts index 618233b1ef4ab..f3652bcddce8f 100644 --- a/frontend/src/scenes/settings/environment/dataColorThemesLogic.ts +++ b/frontend/src/scenes/settings/environment/dataColorThemesLogic.ts @@ -7,7 +7,7 @@ import type { dataColorThemesLogicType } from './dataColorThemesLogicType' export const dataColorThemesLogic = kea([ path(['scenes', 'settings', 'environment', 'dataColorThemesLogic']), connect({ - values: [dataThemeLogic, ['themes', 'themesLoading', 'posthogTheme']], + values: [dataThemeLogic, ['themes', 'themesLoading', 'defaultTheme', 'posthogTheme']], actions: [dataColorThemesModalLogic, ['openModal']], }), actions({