mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-11 21:08:36 +03:00
Improve dragging performance
This commit is contained in:
@@ -24,7 +24,7 @@ function renderDot(event, styles, props) {
|
||||
);
|
||||
return (
|
||||
<g
|
||||
key={hash(event)}
|
||||
key={event.id}
|
||||
className="timeline-event"
|
||||
onClick={props.onSelect}
|
||||
transform={`translate(${props.x}, ${props.y})`}
|
||||
|
||||
Reference in New Issue
Block a user