Skip to content

Commit

Permalink
🚨 fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineKM committed Feb 10, 2024
1 parent f5b94e5 commit 6e22a72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/kitchen/src/components/Tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ const TabsComponent = styled(
}
};

const handleClick = (event: React.MouseEvent<HTMLDivElement>, tab: Tab) => {
const handleClick = (
event: React.MouseEvent<HTMLDivElement>,
tab: TabProps,
) => {
disabled ? event.preventDefault() : setSelected(tab.value);

Check warning on line 67 in packages/kitchen/src/components/Tabs/index.tsx

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 16.x and ubuntu-latest

Expected an assignment or function call and instead saw an expression

Check warning on line 67 in packages/kitchen/src/components/Tabs/index.tsx

View workflow job for this annotation

GitHub Actions / release

Expected an assignment or function call and instead saw an expression

Check warning on line 67 in packages/kitchen/src/components/Tabs/index.tsx

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 18.x and ubuntu-latest

Expected an assignment or function call and instead saw an expression

Check warning on line 67 in packages/kitchen/src/components/Tabs/index.tsx

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 20.x and ubuntu-latest

Expected an assignment or function call and instead saw an expression
};

Expand Down

0 comments on commit 6e22a72

Please sign in to comment.