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/components/FilterBar/FilterBar.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +6 -6
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +6 -6
- package/lib/index.js.map +1 -1
- package/lib/index.umd.js +6 -6
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FilterBar/FilterBar.tsx +6 -6
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
|
-
|
|
11152
|
-
|
|
11153
|
-
|
|
11154
|
-
|
|
11155
|
-
|
|
11156
|
-
|
|
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 });
|