Fix typo in types.js (react-devtools-shared) (#22299)
Fix typo: becuase -> because
Konstantin Popov committed
Sep 20, 2021 at 22:09 UTC
acf8ada4c00105f933ea87ad425e83cdcd115ba0
1 file changed
+1
-1
packages/react-devtools-shared/src/types.js
+1
-1
@@ -79,7 +79,7 @@ export type ComponentFilter =
79
80
export type HookName = string | null;
81
// Map of hook source ("<filename>:<line-number>:<column-number>") to name.
82
-// Hook source is used instead of the hook itself becuase the latter is not stable between element inspections.
82
+// Hook source is used instead of the hook itself because the latter is not stable between element inspections.
83
// We use a Map rather than an Array because of nested hooks and traversal ordering.
84
export type HookSourceLocationKey = string;
85
export type HookNames = Map<HookSourceLocationKey, HookName>;