From 23a36087dfba5b60a84b9c6b3a2818054e72a2fd Mon Sep 17 00:00:00 2001 From: dleadbetter Date: Thu, 15 Aug 2024 06:57:58 -0400 Subject: [PATCH] RC #291 - Adding debugging to FacetTimeline component --- packages/core-data/src/components/FacetTimeline.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/core-data/src/components/FacetTimeline.js b/packages/core-data/src/components/FacetTimeline.js index 0a6addcf..6e1c1195 100644 --- a/packages/core-data/src/components/FacetTimeline.js +++ b/packages/core-data/src/components/FacetTimeline.js @@ -70,6 +70,8 @@ const FACET_EVENT_RANGE = 'event_range_facet'; const FacetTimeline = (props: Props) => { const { range = {}, refine, start = [] } = props.useRange({ attribute: FACET_EVENT_RANGE }); + console.log('range', range); + constole.log('start', start); const from = Math.max(range.min, Number.isFinite(start[0]) ? start[0] : range.min); const to = Math.min(range.max, Number.isFinite(start[1]) ? start[1] : range.max);