Skip to content

Commit

Permalink
Поправил ошибку.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeymorin committed Mar 11, 2023
1 parent d9355e5 commit baac33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AddItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function AddItem(props) {
</DialogContent>
<DialogActions>
<Button onClick={handleClose}>Cancel</Button>
<Button onClick={AddItem}>Add</Button>
<Button onClick={addItem}>Add</Button>
</DialogActions>
</Dialog>
</div>
Expand Down

0 comments on commit baac33c

Please sign in to comment.