Removed log
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
7efe878e9e
commit
3e19501003
|
@ -61,7 +61,6 @@ export const WordCloud = withTooltip(
|
||||||
hideTooltip,
|
hideTooltip,
|
||||||
} = useTooltip<WordData>();
|
} = useTooltip<WordData>();
|
||||||
|
|
||||||
console.log("got width", width);
|
|
||||||
return (
|
return (
|
||||||
<div className={className}>
|
<div className={className}>
|
||||||
<WordCloudWordsMemoized
|
<WordCloudWordsMemoized
|
||||||
|
@ -205,7 +204,6 @@ const shouldNotRerender = (
|
||||||
nextProps.tooltipLeft === undefined ||
|
nextProps.tooltipLeft === undefined ||
|
||||||
nextProps.tooltipTop === undefined)
|
nextProps.tooltipTop === undefined)
|
||||||
) {
|
) {
|
||||||
console.log("widths ", prevProps.width, nextProps.width);
|
|
||||||
return true; // do not re-render
|
return true; // do not re-render
|
||||||
}
|
}
|
||||||
return false; // will re-render
|
return false; // will re-render
|
||||||
|
|
Loading…
Reference in New Issue