odaptos_design_system 2.0.149 → 2.0.150
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/odaptos_design_system.cjs.development.js +0 -5
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +0 -5
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Molecules/Tabs/TabsUnderLine.tsx +0 -7
|
@@ -16241,11 +16241,6 @@ const TabsUnderline = ({
|
|
|
16241
16241
|
onChange(defaultValue, tabs[defaultValue].value);
|
|
16242
16242
|
}
|
|
16243
16243
|
}, [defaultValue]);
|
|
16244
|
-
React.useEffect(() => {
|
|
16245
|
-
if (tabs.length === 0) return;
|
|
16246
|
-
setValue(0);
|
|
16247
|
-
onChange(0, tabs[0].value);
|
|
16248
|
-
}, [tabs]);
|
|
16249
16244
|
if (type === 'underline') return /*#__PURE__*/React__default.createElement("div", {
|
|
16250
16245
|
className: `${styles$T.tabbar} ${className && className}`,
|
|
16251
16246
|
id: id
|