diff --git a/book/src/chapter_1.md b/book/src/chapter_1.md index ba7ff430ebe2e0a1ae47f91249c5f09e1929f04b..aede01cc575233047581469a61b4d26f69b7580d 100644 --- a/book/src/chapter_1.md +++ b/book/src/chapter_1.md @@ -20,6 +20,7 @@ fn startup( font_mapping.set_default(asset_server.load("roboto.kayak_font")); let mut widget_context = KayakRootContext::new(); + widget_context.add_plugin(KayakWidgetsContextPlugin); let parent_id = None; // The rsx! macro expects a parent_id, a widget_context from the user.