Skip to content

Commit

Permalink
Merge pull request #9 from mariatorrentedev/develop
Browse files Browse the repository at this point in the history
Fix unused param type issue.
  • Loading branch information
mariatorrentedev authored Apr 17, 2024
2 parents ca1f902 + 14c52a0 commit 65d9a67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function a11yProps(index: number) {
export default function Navigation() {
const [value, setValue] = React.useState(0);

const handleChange = (e: React.ChangeEvent<{}>, newValue: number) => {
const handleChange = (newValue: number) => {
setValue(newValue);
};

Expand All @@ -90,7 +90,7 @@ export default function Navigation() {
orientation="vertical"
variant="scrollable"
value={value}
onChange={handleChange}
onChange={(_, newValue) => handleChange(newValue)}
aria-label="Vertical tabs example"
>
<Tab label="About" {...a11yProps(0)} />
Expand Down

0 comments on commit 65d9a67

Please sign in to comment.