Skip to content

Commit

Permalink
fix: fixed hsr ignore deployment issues (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miroito authored Feb 25, 2023
1 parent febdbaf commit e9c6239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/perseus/src/reactor/global_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ impl<G: Html> Reactor<G> {

// If this is an HSR thaw, and this type is to be ignored from HSR, then ignore
// it
#[cfg(debug_assertions)]
if *is_hsr && S::HSR_IGNORE {
return Ok(None);
}
Expand Down
1 change: 1 addition & 0 deletions packages/perseus/src/reactor/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ impl<G: Html> Reactor<G> {

// If this is an HSR thaw, and this type is to be ignored from HSR, then ignore
// it
#[cfg(debug_assertions)]
if *is_hsr && S::HSR_IGNORE {
return Ok(None);
}
Expand Down

0 comments on commit e9c6239

Please sign in to comment.