diff --git a/crates/oxc_linter/src/rules/react/rules_of_hooks.rs b/crates/oxc_linter/src/rules/react/rules_of_hooks.rs index baab3df57d200..dbdf678a868d8 100644 --- a/crates/oxc_linter/src/rules/react/rules_of_hooks.rs +++ b/crates/oxc_linter/src/rules/react/rules_of_hooks.rs @@ -104,7 +104,7 @@ declare_oxc_lint!( /// /// RulesOfHooks, - nursery + correctness ); impl Rule for RulesOfHooks { @@ -1228,7 +1228,7 @@ fn test() { if (a) return; useHook2(); } while (b); - + do { useHook3(); if (c) return;