fix server_cached function

This commit is contained in:
Evan Almloff committed 2023-07-17 09:48:35 -07:00
1 parent 040b9d15a8
commit b05fb16155
4 files changed
+21 -8

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ impl<'a, P: Clone + Serialize + Send + Sync + 'static> dioxus_ssr::incremental::
crate::html_storage::serialize::encode_props_in_element(&self.cfg.props, to)?;
// serialize the server state
crate::html_storage::serialize::encode_in_element(
&*self.server_context.html_data().map_err(|err| {
&*self.server_context.html_data().map_err(|_| {
dioxus_ssr::incremental::IncrementalRendererError::Other(Box::new({
#[derive(Debug)]
struct HTMLDataReadError;