there's a lag between pressing the delete button and the item disappearing from the page
try e.stopImmediatePropagation();
once all dinos have been deleted, the final card lingers on the page but firebase reflects the deletion. additionally, a hard refresh displays a blank page and reports a TypeError in the console
review how we handled this for the restaurant assignment. there's an if-else statement in the axios.get function whose button click also runs a function from dinosData
notes
Delete
there's a lag between pressing the delete button and the item disappearing from the page
once all dinos have been deleted, the final card lingers on the page but firebase reflects the deletion. additionally, a hard refresh displays a blank page and reports a TypeError in the console