diff --git a/frontend/src/queries/nodes/DataVisualization/Components/Chart.tsx b/frontend/src/queries/nodes/DataVisualization/Components/Chart.tsx index 1865f8a9f4018..ca3a9466d8565 100644 --- a/frontend/src/queries/nodes/DataVisualization/Components/Chart.tsx +++ b/frontend/src/queries/nodes/DataVisualization/Components/Chart.tsx @@ -1,5 +1,6 @@ import './Chart.scss' +import clsx from 'clsx' import { useValues } from 'kea' import { dataVisualizationLogic } from '../dataVisualizationLogic' @@ -16,7 +17,11 @@ export const Chart = (): JSX.Element => { )} -
+
diff --git a/frontend/src/queries/nodes/DataVisualization/Components/Charts/LineGraph.tsx b/frontend/src/queries/nodes/DataVisualization/Components/Charts/LineGraph.tsx index 3869c45c89615..0e5066658245e 100644 --- a/frontend/src/queries/nodes/DataVisualization/Components/Charts/LineGraph.tsx +++ b/frontend/src/queries/nodes/DataVisualization/Components/Charts/LineGraph.tsx @@ -28,7 +28,7 @@ export const LineGraph = (): JSX.Element => { // TODO: Extract this logic out of this component and inject values in // via props. Make this a purely presentational component - const { xData, yData, presetChartHeight, visualizationType } = useValues(dataVisualizationLogic) + const { xData, yData, presetChartHeight, visualizationType, showEditingUI } = useValues(dataVisualizationLogic) const isBarChart = visualizationType === ChartDisplayType.ActionsBar const { goalLines } = useValues(displayLogic) @@ -273,6 +273,8 @@ export const LineGraph = (): JSX.Element => {
diff --git a/frontend/src/queries/nodes/DataVisualization/Components/SideBar.tsx b/frontend/src/queries/nodes/DataVisualization/Components/SideBar.tsx index e98fc743e8765..e4f84ce7f414e 100644 --- a/frontend/src/queries/nodes/DataVisualization/Components/SideBar.tsx +++ b/frontend/src/queries/nodes/DataVisualization/Components/SideBar.tsx @@ -19,7 +19,7 @@ const TABS_TO_CONTENT = { } const ContentWrapper = ({ children }: { children: JSX.Element }): JSX.Element => { - return
{children}
+ return
{children}
} export const SideBar = (): JSX.Element => {