Skip to content

Commit

Permalink
wip: fixing lint issues and a11y stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
zstix committed Jun 2, 2021
1 parent 8365874 commit bffcc83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Tabs/Bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import useTabs from './useTabs';
const MobileTabControl = ({ children }) => {
const [currentTab, setCurrentTab] = useTabs();

// eslint gets angry about using props from React.Children.map
/* eslint-disable */
return (
<select
onChange={(e) => setCurrentTab(e.target.value)}
Expand All @@ -34,6 +36,7 @@ const MobileTabControl = ({ children }) => {
))}
</select>
);
/* eslint-enable */
};

const Bar = ({ children }) => {
Expand Down

0 comments on commit bffcc83

Please sign in to comment.