mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Extra space (#24612)
This commit is contained in:
@@ -352,7 +352,7 @@ export default {
|
||||
const currentRefsInEffectCleanup = new Map();
|
||||
|
||||
// Is this reference inside a cleanup function for this effect node?
|
||||
// We can check by traversing scopes upwards from the reference, and checking
|
||||
// We can check by traversing scopes upwards from the reference, and checking
|
||||
// if the last "return () => " we encounter is located directly inside the effect.
|
||||
function isInsideEffectCleanup(reference) {
|
||||
let curScope = reference.from;
|
||||
|
||||
Reference in New Issue
Block a user