Explain emoji icon kludge

This commit is contained in:
Aaron Fenyes 2024-11-14 00:16:32 -08:00
parent 0c8022d78e
commit 2b083be998
2 changed files with 5 additions and 1 deletions

View file

@ -173,7 +173,7 @@ pub fn AddRemove() -> View {
}
) { "+" }
button(
class="emoji", /* KLUDGE */
class="emoji", /* KLUDGE */ // for convenience, we're using an emoji as a temporary icon for this button
disabled={
let state = use_context::<AppState>();
state.selection.with(|sel| sel.len() != 2)