create auth example

This commit is contained in:
Evan Almloff committed 2023-07-08 10:37:28 -07:00
1 parent 453d087ed6
commit 27b0c2683b
6 files changed
+456 -1

No files matched your search

@@ -26,6 +26,6 @@ pub fn get_root_props_from_document<T: DeserializeOwned>() -> Option<T> {
.get_element_by_id("dioxus-storage")?
.get_attribute("data-serialized")?;
serde_from_string(&attribute)
serde_from_bytes(attribute.as_bytes())
}
}