mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove unncessary nullcheck
This commit is contained in:
@@ -334,7 +334,7 @@ export class Environment {
|
||||
returnValueKind: hook.valueKind,
|
||||
calleeEffect: Effect.Read,
|
||||
hookKind: "Custom",
|
||||
noAlias: hook.noAlias ?? false,
|
||||
noAlias: hook.noAlias,
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user