Skip to content

Commit

Permalink
Merge pull request #32 from SkywardAI/bug-fix
Browse files Browse the repository at this point in the history
fix type error
  • Loading branch information
cbh778899 authored Sep 16, 2024
2 parents 2106406 + b439847 commit 894ba5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Bohan Cheng",
"email": "[email protected]"
},
"version": "0.1.10",
"version": "0.1.11",
"main": "electron.js",
"scripts": {
"dev": "npm run start & npm run electron",
Expand Down
2 changes: 1 addition & 1 deletion src/components/settings/components/ScrollBarComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function ScrollBarComponent({ cb, value, disabled, title, descrip
}

useEffect(()=>{
!isNaN(+textValue) && checkValue() && cb(textValue);
!isNaN(+textValue) && checkValue() && cb(+textValue);
// eslint-disable-next-line
}, [textValue])

Expand Down

0 comments on commit 894ba5c

Please sign in to comment.