fix: namespacing of dynamic attributes

This commit is contained in:
Jonathan Kelley committed 2022-12-07 15:11:51 -08:00
1 parent db5b65b6cb
commit 0bf4725639
9 files changed
+24 -31

No files matched your search

+1 -1
View File
@@ -8,6 +8,6 @@ struct AppSettings {}
// ANCHOR: wrap_context
fn use_settings(cx: &ScopeState) -> UseSharedState<AppSettings> {
use_context::<AppSettings>(cx).expect("App settings not provided")
use_shared_state::<AppSettings>(cx).expect("App settings not provided")
}
// ANCHOR_END: wrap_context