refactor(examples): use slot render helpers

Use the slhx RenderSlotExt path for board updates so examples no longer manually compose SafeHtml before slot replacement.

req: dx/006

req: component/003
This commit is contained in:
slhx agent
2026-06-01 23:46:59 +02:00
parent 4e47b470a7
commit fd5d48d59a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -415,7 +415,7 @@ fn update_work(demo: &mut DemoState, id: Option<&str>, update: impl FnOnce(&mut
fn demo_effects(demo: &DemoState, notice: &'static str) -> impl IntoEffect {
(
slots::hero_metrics.render(&hero_view(demo)),
slots::board.html(ui::render(&board_view(demo))),
slots::board.render(&board_view(demo)),
slots::activity.render(&activity_view(demo)),
slots::inspector.render(&inspector_view(demo)),
slots::notice.text(notice),