Skip to content

Commit bffcc83

Browse files
committed
wip: fixing lint issues and a11y stuff
1 parent 8365874 commit bffcc83

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/Tabs/Bar.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import useTabs from './useTabs';
88
const MobileTabControl = ({ children }) => {
99
const [currentTab, setCurrentTab] = useTabs();
1010

11+
// eslint gets angry about using props from React.Children.map
12+
/* eslint-disable */
1113
return (
1214
<select
1315
onChange={(e) => setCurrentTab(e.target.value)}
@@ -34,6 +36,7 @@ const MobileTabControl = ({ children }) => {
3436
))}
3537
</select>
3638
);
39+
/* eslint-enable */
3740
};
3841

3942
const Bar = ({ children }) => {

0 commit comments

Comments
 (0)