Skip to content

Commit

Permalink
Use only one alert (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
XdoctorwhoZ authored Jan 31, 2025
1 parent dbf054c commit a6e7179
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/underscore_device/structure/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ impl InstanceElement {
///
///
pub fn add_alert(&mut self, alert: Alert) {
self.alerts.clear();
self.alerts.push(alert);
}

Expand Down

0 comments on commit a6e7179

Please sign in to comment.