mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Fix typo in types.js (react-devtools-shared) (#22299)
Fix typo: becuase -> because
This commit is contained in:
2
packages/react-devtools-shared/src/types.js
vendored
2
packages/react-devtools-shared/src/types.js
vendored
@@ -79,7 +79,7 @@ export type ComponentFilter =
|
||||
|
||||
export type HookName = string | null;
|
||||
// Map of hook source ("<filename>:<line-number>:<column-number>") to name.
|
||||
// Hook source is used instead of the hook itself becuase the latter is not stable between element inspections.
|
||||
// Hook source is used instead of the hook itself because the latter is not stable between element inspections.
|
||||
// We use a Map rather than an Array because of nested hooks and traversal ordering.
|
||||
export type HookSourceLocationKey = string;
|
||||
export type HookNames = Map<HookSourceLocationKey, HookName>;
|
||||
|
||||
Reference in New Issue
Block a user