Skip to content

Commit

Permalink
fixing Calculator component so tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraCole1900 committed Jan 17, 2025
1 parent 6f4b6d9 commit 7e1fdb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Calculator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function Calculator() {
type="text"
id="value"
name="value"
onChange={(event) => { setValue(Number(event.target.value)); }}
onChange={(event) => { setValue(Number(event.target.value))}}
value={value}
/>
</p>
Expand Down

0 comments on commit 7e1fdb8

Please sign in to comment.