mirror of
https://github.com/bendtherules/react-vis-gridarea.git
synced 2026-08-18 22:02:23 +00:00
Fix calling event listeners
This commit is contained in:
+1
-5
@@ -136,7 +136,7 @@ class GridArea extends PureComponent<GridAreaProps, {}> {
|
||||
[primaryLengthAttr]: maxPos - minPos,
|
||||
};
|
||||
|
||||
const tmpRect = (
|
||||
return (
|
||||
<rect
|
||||
{...rectProps}
|
||||
key={i}
|
||||
@@ -147,10 +147,6 @@ class GridArea extends PureComponent<GridAreaProps, {}> {
|
||||
onMouseOut={(ev) => { this.props.onValueMouseOut(ev, tmpValue) }}
|
||||
/>
|
||||
);
|
||||
|
||||
return (
|
||||
|
||||
);
|
||||
})}
|
||||
</g>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user