Rename discard context to drop context

This commit is contained in:
Spxg
2025-05-25 15:48:25 +08:00
parent 3e414e0c86
commit 908fb127a1
2 changed files with 2 additions and 2 deletions

View File

@@ -277,7 +277,7 @@ fn ContextMenuButton(menu_container: NodeRef<html::element::Div>) -> impl IntoVi
let button = move |toggle, node_ref| {
view! {
<Button icon_right=expandable_icon() on_click=toggle node_ref=node_ref>
{move || if *state.keep_ctx().read() { "Keep Context" } else { "Discard Context" }}
{move || if *state.keep_ctx().read() { "Keep Context" } else { "Drop Context" }}
</Button>
}
.into_any()