@thecb/components 10.2.4-beta.12 → 10.2.4-beta.13

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": "@thecb/components",
3
- "version": "10.2.4-beta.12",
3
+ "version": "10.2.4-beta.13",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -136,7 +136,7 @@ const ButtonWithAction = forwardRef(
136
136
  disabledStyles={disabledStyles}
137
137
  aria-disabled={disabled}
138
138
  as="button"
139
- onClick={isLoading || disabled ? undefined : action}
139
+ onClick={isLoading || disabled ? noop : action}
140
140
  borderRadius="2px"
141
141
  theme={themeContext}
142
142
  extraStyles={`margin: 0.5rem; ${extraStyles}`}