@wandelbots/wandelbots-js-react-components 2.54.2-pr.fix-pre-commit-nvm.401.4428254 → 2.54.3
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/dist/components/TabBar.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/TabBar.tsx +2 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wandelbots/wandelbots-js-react-components",
|
|
3
|
-
"version": "2.54.
|
|
3
|
+
"version": "2.54.3",
|
|
4
4
|
"description": "React UI toolkit for building applications on top of the Wandelbots platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -194,6 +194,7 @@ export const TabBar = externalizeComponent(
|
|
|
194
194
|
|
|
195
195
|
const tab = (
|
|
196
196
|
<Tab
|
|
197
|
+
key={item.id}
|
|
197
198
|
label={item.label}
|
|
198
199
|
icon={item.icon}
|
|
199
200
|
iconPosition="start"
|
|
@@ -233,11 +234,7 @@ export const TabBar = externalizeComponent(
|
|
|
233
234
|
)
|
|
234
235
|
|
|
235
236
|
if (!showBadge) {
|
|
236
|
-
return
|
|
237
|
-
<Box key={item.id} sx={{ display: "inline-flex" }}>
|
|
238
|
-
{tab}
|
|
239
|
-
</Box>
|
|
240
|
-
)
|
|
237
|
+
return tab
|
|
241
238
|
}
|
|
242
239
|
|
|
243
240
|
return (
|