hds-web 1.32.1 → 1.32.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.32.1",
3
+ "version": "1.32.2",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -8,8 +8,9 @@ export default function V3Tab(props) {
8
8
  tabs,
9
9
  onTabClick,
10
10
  pillColor,
11
+ initalTab=true
11
12
  } = props;
12
- const initialActiveTab = tabs.find(tab => tab.current)?.name || tabs[0].name;
13
+ const initialActiveTab = tabs.find((tab) => tab.current)?.name || (initalTab ? tabs[0].name : '');
13
14
  const [activeTab, setActiveTab] = useState(initialActiveTab);
14
15
  let pillColorClass = '';
15
16
  if (pillColor) {