@gemx-dev/heatmap-react 3.5.39 → 3.5.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1841,7 +1841,7 @@ const HeatmapElements = (props) => {
1841
1841
 
1842
1842
  const VizElements = ({ iframeRef, visualRef, wrapperRef }) => {
1843
1843
  const heatmapInfo = useHeatmapDataStore((state) => state.dataInfo);
1844
- const contentWidth = useHeatmapDataStore((state) => state.config?.width ?? 0);
1844
+ const contentWidth = useHeatmapConfigStore((state) => state.width);
1845
1845
  const visualizer = {
1846
1846
  get: (hash) => {
1847
1847
  const doc = iframeRef.current?.contentDocument;
@@ -1841,7 +1841,7 @@ const HeatmapElements = (props) => {
1841
1841
 
1842
1842
  const VizElements = ({ iframeRef, visualRef, wrapperRef }) => {
1843
1843
  const heatmapInfo = useHeatmapDataStore((state) => state.dataInfo);
1844
- const contentWidth = useHeatmapDataStore((state) => state.config?.width ?? 0);
1844
+ const contentWidth = useHeatmapConfigStore((state) => state.width);
1845
1845
  const visualizer = {
1846
1846
  get: (hash) => {
1847
1847
  const doc = iframeRef.current?.contentDocument;