Skip to content

Commit

Permalink
RC #291 - Adding debugging to FacetTimeline component
Browse files Browse the repository at this point in the history
  • Loading branch information
dleadbetter committed Aug 15, 2024
1 parent 2339d4d commit 23a3608
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core-data/src/components/FacetTimeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 23a3608

Please sign in to comment.