Skip to content

Commit

Permalink
Forbid style_str output when not enable ssr feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
langyo committed Dec 9, 2023
1 parent 09d80a4 commit 1b3142d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/stylist/src/manager/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ mod feat_ssr_hydration {
pub(super) struct StyleDataContent {
pub key: StyleKey,
pub id: StyleId,
#[cfg(feature = "ssr")]
#[serde(skip)]
pub style_str: String,
}
Expand Down

0 comments on commit 1b3142d

Please sign in to comment.