Skip to content

Commit ae0f68f

Browse files
committed
tab dropdown component created, shows tab options
1 parent e64a1af commit ae0f68f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/app/components/SwitchApp.jsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import Select from 'react-select';
3-
import PropTypes from 'prop-types';
43
import { useStoreContext } from '../store';
54

65
const SwitchAppDropdown = () => {
@@ -9,12 +8,6 @@ const SwitchAppDropdown = () => {
98

109
const tabsArray = [];
1110

12-
// for (let allTabs in tabs){
13-
// tabsArray.push({value: allTabs, label: allTabs})
14-
// };
15-
16-
// console.log(tabsArray)
17-
1811
Object.keys(tabs).forEach((tab) => {
1912
tabsArray.push({ value: tab, label: tab });
2013
});

0 commit comments

Comments
 (0)