willba-component-library 0.0.67 → 0.0.68

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.0.67",
3
+ "version": "0.0.68",
4
4
  "description": "A stroybook 6 with TypeScript demo",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",
package/rollup.config.mjs CHANGED
@@ -32,13 +32,13 @@ export default [
32
32
  sourcemap: true,
33
33
  inlineDynamicImports: true,
34
34
  },
35
- {
36
- name: 'WillbaComponentLibrary',
37
- file: `lib/index.umd.js`,
38
- format: 'umd',
39
- sourcemap: true,
40
- globals,
41
- },
35
+ // {
36
+ // name: 'WillbaComponentLibrary',
37
+ // file: `lib/index.umd.js`,
38
+ // format: 'umd',
39
+ // sourcemap: true,
40
+ // globals,
41
+ // },
42
42
  ],
43
43
  plugins: [
44
44
  peerDepsExternal(),
@@ -33,11 +33,7 @@ export default function useFilterBar() {
33
33
  }
34
34
 
35
35
  const url = `http://localhost:4000/en/events/?${queryParams.toString()}`
36
-
37
- if (typeof window !== 'undefined') {
38
- window.location.href = url
39
- }
40
-
36
+ window.location.href = url
41
37
  handleSelectedFilter(false)
42
38
  }
43
39