Delete Note
fun DeleteNote(viewModel: <Error class: unknown class>, update: ProjectUpdate? = null, note: Note, show: MutableState<Boolean>, onDelete: () -> Unit)
Alert to warn about the note deletion
Parameters
view Model
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
on Delete
The action to execute when the note has been deleted