DeleteNote
fun DeleteNote(viewModel: EquinoxViewModel, update: ProjectUpdate? = null, note: Note, show: MutableState<Boolean>, onDelete: () -> Unit)
Alert to warn about the note deletion
Parameters
viewModel
The support viewmodel for the screen
update
The update owner of the change note
note
The note to delete
show
Whether the alert is shown
onDelete
The action to execute when the note has been deleted