pub fn remove( editor: &Editor, flake_edit: &mut FlakeEdit, state: &AppState, id: Option<String>, ) -> Result<()>