@titelmedia/bricks-gallery
Advanced tools
Comparing version 0.4.62 to 0.4.63
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.4.63](https://github.com/titel-media/bricks-lerna/compare/v0.4.62...v0.4.63) (2022-02-26) | ||
**Note:** Version bump only for package @titelmedia/bricks-gallery | ||
## [0.4.62](https://github.com/titel-media/bricks-lerna/compare/v0.4.61...v0.4.62) (2022-02-26) | ||
@@ -8,0 +16,0 @@ |
@@ -43,9 +43,6 @@ "use strict"; | ||
(0, _react.useEffect)(() => { | ||
const onResize = (0, _lodash.debounce)(buildTimeline, 500); | ||
const onResize = (0, _lodash.debounce)(buildTimeline, 200); | ||
onResize(); | ||
}, []); | ||
if ((windowSize === null || windowSize === void 0 ? void 0 : windowSize.width) > 0) { | ||
onResize(); | ||
} | ||
}, [windowSize]); | ||
const buildTimeline = () => { | ||
@@ -52,0 +49,0 @@ var _containerRef$current; |
@@ -24,7 +24,5 @@ import React, { useRef, useEffect } from 'react'; | ||
useEffect(() => { | ||
const onResize = debounce(buildTimeline, 500); | ||
if (windowSize?.width > 0) { | ||
onResize(); | ||
} | ||
}, [windowSize]); | ||
const onResize = debounce(buildTimeline, 200); | ||
onResize(); | ||
}, []); | ||
@@ -31,0 +29,0 @@ const buildTimeline = () => { |
{ | ||
"name": "@titelmedia/bricks-gallery", | ||
"version": "0.4.62", | ||
"version": "0.4.63", | ||
"description": "> TODO: description", | ||
@@ -33,3 +33,3 @@ "author": "highsnob", | ||
}, | ||
"gitHead": "a08e2f02bee20db51b6efb2e8e7d3113d164f250" | ||
"gitHead": "afa296b628d6fc21aee9c1af9a819001d14f87ec" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52414
653