willba-component-library 0.1.63 → 0.1.64

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/lib/index.js CHANGED
@@ -11148,12 +11148,12 @@ function FilterBar(_a) {
11148
11148
  // Handle close filter section
11149
11149
  var filtersRef = useCloseFilterSection({ handleSelectedFilter: handleSelectedFilter }).filtersRef;
11150
11150
  // Display component after fully loaded
11151
- // const [initialRenderComplete, setInitialRenderComplete] =
11152
- // useState<boolean>(false)
11153
- // useEffect(() => {
11154
- // setInitialRenderComplete(true)
11155
- // }, [])
11156
- // if (!initialRenderComplete) return null
11151
+ var _f = __read(React__default.useState(false), 2), initialRenderComplete = _f[0], setInitialRenderComplete = _f[1];
11152
+ React__default.useEffect(function () {
11153
+ setInitialRenderComplete(true);
11154
+ }, []);
11155
+ if (!initialRenderComplete)
11156
+ return null;
11157
11157
  //----/----
11158
11158
  // Parsed data for filter section description
11159
11159
  var parsedDates = parseDates({ calendarRange: calendarRange });