diff --git a/library/package.json b/library/package.json index d00cb8e0e..f54e7a9db 100644 --- a/library/package.json +++ b/library/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/react-component", - "version": "2.2.4", + "version": "2.2.5", "private": false, "description": "A React component for AsyncAPI specification.", "repository": { diff --git a/package-lock.json b/package-lock.json index c2d3b8b76..408108221 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ }, "library": { "name": "@asyncapi/react-component", - "version": "2.2.4", + "version": "2.2.5", "license": "Apache-2.0", "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.24", @@ -27671,10 +27671,10 @@ }, "web-component": { "name": "@asyncapi/web-component", - "version": "2.2.4", + "version": "2.2.5", "license": "Apache-2.0", "dependencies": { - "@asyncapi/react-component": "^2.2.4", + "@asyncapi/react-component": "^2.2.5", "react": "^18.2.0", "react-dom": "^18.2.0", "web-react-components": "^1.4.2" diff --git a/playground/components/Tab.tsx b/playground/components/Tab.tsx index 0a46bd414..540640a61 100644 --- a/playground/components/Tab.tsx +++ b/playground/components/Tab.tsx @@ -19,7 +19,7 @@ class Tab extends Component { { event.preventDefault(); - if (parentCallback && tabIndex) { + if (parentCallback && tabIndex != undefined) { parentCallback(tabIndex); } }} diff --git a/web-component/package.json b/web-component/package.json index 1e6d4a23b..6d40ded27 100644 --- a/web-component/package.json +++ b/web-component/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/web-component", - "version": "2.2.4", + "version": "2.2.5", "private": false, "description": "A web component for AsyncAPI specification. Based on @asyncapi/react-component.", "repository": { @@ -44,7 +44,7 @@ "install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh" }, "dependencies": { - "@asyncapi/react-component": "^2.2.4", + "@asyncapi/react-component": "^2.2.5", "react": "^18.2.0", "react-dom": "^18.2.0", "web-react-components": "^1.4.2"