Skip to content

Commit

Permalink
refactor(transformer/react): remove CalculateSignatureKey implementat…
Browse files Browse the repository at this point in the history
…ion from refresh
  • Loading branch information
Dunqing authored and overlookmotel committed Aug 29, 2024
1 parent 3acb3f6 commit 5a837cf
Show file tree
Hide file tree
Showing 2 changed files with 172 additions and 212 deletions.
4 changes: 4 additions & 0 deletions crates/oxc_transformer/src/react/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ impl<'a> React<'a> {
if self.display_name_plugin {
self.display_name.transform_call_expression(call_expr, ctx);
}

if self.refresh_plugin {
self.refresh.transform_call_expression(call_expr, ctx);
}
}

pub fn transform_jsx_opening_element(
Expand Down
Loading

0 comments on commit 5a837cf

Please sign in to comment.