53 navigate("/home");
54 // ...
55 })
56 .catch((error) => { 57 58 59 60 }); 61 }
62
63 // Function for handling email input change
Having empty functions hurts readability, and is considered a code-smell. There's almost always a way to avoid using them. If you must use one, consider adding a comment to inform the reader of its purpose.
getUser('SwaGaLisTiQuE', () => {})
getUser('SwaGaLisTiQuE', () => {
// empty because <reason>
})