willba-component-library 0.1.51 → 0.1.52

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.51",
3
+ "version": "0.1.52",
4
4
  "description": "A stroybook 6 with TypeScript demo",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",
@@ -47,7 +47,7 @@ export const Primary: Story = {
47
47
  <div style={{ background: 'grey', padding: '30px', height: '100vh' }}>
48
48
  <FilterBar
49
49
  {...args}
50
- onSubmit={true ? null : (val: Filters) => console.log(val)}
50
+ onSubmit={false ? null : (val: Filters) => console.log(val)}
51
51
  />
52
52
  </div>
53
53
  ),
@@ -142,7 +142,6 @@ export const useFilterBar = ({
142
142
  }
143
143
 
144
144
  handleSelectedFilter(false)
145
- console.log(onSubmit ? 'eeee' : 'tttt')
146
145
  return onSubmit
147
146
  ? onSubmit(newParams)
148
147
  : (window.location.href = `${redirectUrl}/${selectedPath}${