fix use_server_future

This commit is contained in:
Evan Almloff committed 2023-07-17 17:23:15 -07:00
1 parent e3a759ba38
commit 8e54a89a74
9 files changed
+141 -65

No files matched your search

+2 -1
View File
@@ -12,7 +12,7 @@ use serde::Serialize;
use std::sync::RwLock;
use tokio::task::spawn_blocking;
use crate::{prelude::*, server_context::with_server_context};
use crate::prelude::*;
use dioxus::prelude::*;
enum SsrRendererPool {
@@ -300,6 +300,7 @@ impl<P: Clone + Serialize + Send + Sync + 'static> dioxus_ssr::incremental::Wrap
}
/// A rendered response from the server.
#[derive(Debug)]
pub struct RenderResponse {
pub(crate) html: String,
pub(crate) freshness: RenderFreshness,