remove extra format macros

This commit is contained in:
yggverse 2024-12-18 09:49:54 +02:00
parent 467a287468
commit 8e1c0fc703

View File

@ -32,7 +32,7 @@ impl Result {
} }
self.label.remove_css_class("error"); self.label.remove_css_class("error");
} else { } else {
self.label.set_label(&format!("Phrase not found")); self.label.set_label("Phrase not found");
self.label.add_css_class("error"); self.label.add_css_class("error");
} }
} }