Sample page and graph wrappers #32

Merged
snedadah merged 18 commits from shahanneda/wrapper into main 2022-09-02 17:39:47 -04:00
1 changed files with 0 additions and 2 deletions
Showing only changes of commit 3e19501003 - Show all commits

View File

@ -61,7 +61,6 @@ export const WordCloud = withTooltip(
hideTooltip,
} = useTooltip<WordData>();
console.log("got width", width);
return (
<div className={className}>
<WordCloudWordsMemoized
@ -205,7 +204,6 @@ const shouldNotRerender = (
nextProps.tooltipLeft === undefined ||
nextProps.tooltipTop === undefined)
) {
console.log("widths ", prevProps.width, nextProps.width);
return true; // do not re-render
}
return false; // will re-render