Skip to content

Commit 7d04a93

Browse files
fix(app): format heatmap selection reset call
Co-authored-by: Alex Fedotyev <alex-fedotyev@users.noreply.github.com>
1 parent 27a9001 commit 7d04a93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/app/src/components/DBHeatmapChart.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,10 @@ function Heatmap({
847847
setSelectingInfo(undefined);
848848
if (uplotRef.current != null) {
849849
// Clear persisted uPlot drag rectangle when parent resets selection.
850-
uplotRef.current.setSelect({ left: 0, top: 0, width: 0, height: 0 }, false);
850+
uplotRef.current.setSelect(
851+
{ left: 0, top: 0, width: 0, height: 0 },
852+
false,
853+
);
851854
}
852855
}, [clearSelectionVersion]);
853856

0 commit comments

Comments
 (0)