fix rendering aborted nodes in SSR (#2218)
This commit is contained in:
1 parent
aca38e6a34
commit
947b23bda5
4 files changed
+6
-50
No files matched your search
@@ -4,9 +4,8 @@ use std::fmt::Write;
|
||||
use crate::renderer::{str_truthy, BOOL_ATTRS};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct StringCache {
|
||||
pub(crate) struct StringCache {
|
||||
pub segments: Vec<Segment>,
|
||||
pub template: Template,
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
@@ -56,7 +55,6 @@ impl StringCache {
|
||||
|
||||
Ok(Self {
|
||||
segments: chain.segments,
|
||||
template: template.template.get(),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user