♻️ (pagetop): Props::unpack() exige &mut Context

This commit is contained in:
Manuel Cillero 2026-09-08 07:28:50 +02:00
parent ee1b48ff3f
commit 8577ca8a59
14 changed files with 280 additions and 190 deletions

View file

@ -71,7 +71,7 @@ impl PageTopSvg {
/// [`Lc::none()`]: crate::locale::Lc::none
/// [`Image`]: crate::base::component::Image
/// [`image::Source::Logo`]: crate::base::component::image::Source::Logo
pub fn markup_with(&self, cx: &Context, props: &Props, label: Lc) -> Markup {
pub fn markup_with(&self, cx: &mut Context, props: &Props, label: Lc) -> Markup {
let label = label.lookup(cx);
html! {
svg