Skip to content

Commit

Permalink
Etiqueta
Browse files Browse the repository at this point in the history
  • Loading branch information
CANCI0 committed Mar 10, 2024
1 parent 1a26749 commit 07d66b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/Register/Register.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const AddUser = () => {
<Button variant="contained" color="primary" onClick={addUser}>
Add User
</Button>
<Snackbar open={openSnackbar} autoHideDuration={6000} onClose={handleCloseSnackbar} message="User added successfully" />
<Snackbar open={openSnackbar} autoHideDuration={6000} onClose={handleCloseSnackbar} message="User added successfully"/>
{error && (
<Snackbar open={!!error} autoHideDuration={6000} onClose={() => setError('')} message={`Error: ${error}`} />
)}
Expand Down

0 comments on commit 07d66b0

Please sign in to comment.