Skip to content

Commit e8fdb96

Browse files
jasnooMarkTeetsminzo-kimyuanjackie1
committed
removed bug in history page that prevented clicking on item
Co-authored-by: Mark Teets <[email protected]> Co-authored-by: Jasmine Noor <[email protected]> Co-authored-by: Minzo Kim <[email protected]> Co-authored-by: Jackie Yuan <[email protected]>
1 parent 693315b commit e8fdb96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/StateRoute/History.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ function History(props: Record<string, unknown>): JSX.Element {
178178
.enter()
179179
.append('g')
180180
.style('cursor', 'pointer')
181-
.on('click', (d) => {
181+
.on('click', (event, d) => {
182182
dispatch(changeView(d.data.index));
183183
dispatch(changeSlider(d.data.index));
184184
})

0 commit comments

Comments
 (0)