(props: LineChartContentPr
const hoveredDatumLink = hoveredDatum
? hoveredDatumLinks[+hoveredDatum.datum.x] ?? hoveredDatumLinks[hoveredDatum.index]
: null
- const rootClasses = classNames(styles.content, { [styles.contentWithCursor]: !!hoveredDatumLink })
+ const rootClasses = classNames({ [styles.contentWithCursor]: !!hoveredDatumLink })
return (
diff --git a/client/web/src/views/components/view/content/chart-view-content/charts/line/index.ts b/client/web/src/views/components/view/content/chart-view-content/charts/line/index.ts
index e0bf4f45776..882fed8174f 100644
--- a/client/web/src/views/components/view/content/chart-view-content/charts/line/index.ts
+++ b/client/web/src/views/components/view/content/chart-view-content/charts/line/index.ts
@@ -1,3 +1,4 @@
-export { LineChart } from './LineChart'
+export { LineChart, LegendBlock, LegendItem } from './LineChart'
export { LineChartSettingsContext, LineChartLayoutOrientation } from './line-chart-settings-provider'
export { EMPTY_DATA_POINT_VALUE, DEFAULT_LINE_STROKE } from './constants'
+export { getLineStroke } from './components/LineChartContent'
diff --git a/sg.config.yaml b/sg.config.yaml
index 799216ba9e2..b125f1ef688 100644
--- a/sg.config.yaml
+++ b/sg.config.yaml
@@ -317,7 +317,7 @@ commands:
install: yarn --no-progress
env:
WEBPACK_SERVE_INDEX: true
- SOURCEGRAPH_API_URL: https://sourcegraph.com
+ SOURCEGRAPH_API_URL: https://k8s.sgdev.org
web-standalone-http-prod:
cmd: yarn workspace @sourcegraph/web serve:prod