Skip to content

Commit

Permalink
fix: added missing cfg macro line
Browse files Browse the repository at this point in the history
This line disappeared, now it's back.
  • Loading branch information
arctic-hen7 committed Dec 13, 2021
1 parent 7b3e62f commit 006523a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/perseus/src/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ pub async fn app_shell(

// Hydrate that static code using the acquired state
// BUG (Sycamore): this will double-render if the component is just text (no nodes)
#[cfg(not(feature = "hydrate"))]
{
// If we aren't hydrating, we'll have to delete everything and re-render
container_rx_elem.set_inner_html("");
Expand Down

0 comments on commit 006523a

Please sign in to comment.