fix rendering aborted nodes in SSR (#2218)

This commit is contained in:
Evan Almloff authored and GitHub committed 2024-04-02 10:51:48 -07:00
1 parent aca38e6a34
commit 947b23bda5
4 files changed
+6 -50

No files matched your search

+1 -3
View File
@@ -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(),
})
}