Skip to content

Commit

Permalink
Merge pull request #8 from mariatorrentedev/develop
Browse files Browse the repository at this point in the history
Fix type issue.
  • Loading branch information
mariatorrentedev authored Apr 17, 2024
2 parents 1487b2c + 0689dd4 commit ca1f902
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 = (newValue: number) => {
const handleChange = (e: React.ChangeEvent<{}>, newValue: number) => {

Check failure on line 83 in src/components/Navigation.tsx

View workflow job for this annotation

GitHub Actions / deploy

'e' is declared but its value is never read.
setValue(newValue);
};

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

0 comments on commit ca1f902

Please sign in to comment.