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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "willba-component-library",
3
- "version": "0.1.63",
3
+ "version": "0.1.64",
4
4
  "description": "A stroybook 6 with TypeScript demo",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",
@@ -95,14 +95,14 @@ export default function FilterBar({
95
95
  const { filtersRef } = useCloseFilterSection({ handleSelectedFilter })
96
96
 
97
97
  // Display component after fully loaded
98
- // const [initialRenderComplete, setInitialRenderComplete] =
99
- // useState<boolean>(false)
98
+ const [initialRenderComplete, setInitialRenderComplete] =
99
+ useState<boolean>(false)
100
100
 
101
- // useEffect(() => {
102
- // setInitialRenderComplete(true)
103
- // }, [])
101
+ useEffect(() => {
102
+ setInitialRenderComplete(true)
103
+ }, [])
104
104
 
105
- // if (!initialRenderComplete) return null
105
+ if (!initialRenderComplete) return null
106
106
  //----/----
107
107
 
108
108
  // Parsed data for filter section description