File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
packages/react-devtools-shared/src
Components/NativeStyleEditor Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export function dangerous_setTargetConsoleForTesting(
47
47
48
48
// v16 renderers should use this method to inject internals necessary to generate a component stack.
49
49
// These internals will be used if the console is patched.
50
- // Injecting them separately allows the console to easily be patched or unpacted later (at runtime).
50
+ // Injecting them separately allows the console to easily be patched or un-patched later (at runtime).
51
51
export function registerRenderer ( renderer : ReactRenderer ) : void {
52
52
const { getCurrentFiber, findFiberByHostInstance, version} = renderer ;
53
53
Original file line number Diff line number Diff line change 10
10
// This file was forked from the React GitHub repo:
11
11
// https://raw.githubusercontent.com/facebook/react/master/packages/shared/describeComponentFrame.js
12
12
//
13
- // It has been modified sligthly to add a zero width space as commented below.
13
+ // It has been modified slightly to add a zero width space as commented below.
14
14
15
15
const BEFORE_SLASH_RE = / ^ ( .* ) [ \\ / ] / ;
16
16
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default function AutoSizeInput({
38
38
}
39
39
} ;
40
40
41
- // Copy text stlyes from <input> to hidden sizing <div>
41
+ // Copy text styles from <input> to hidden sizing <div>
42
42
useLayoutEffect ( ( ) => {
43
43
if (
44
44
typeof window . getComputedStyle !== 'function' ||
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ function NativeStyleContextController({children}: Props) {
121
121
} else {
122
122
resource . write ( element , styleAndLayout ) ;
123
123
124
- // Schedule update with React if the curently -selected element has been invalidated.
124
+ // Schedule update with React if the currently -selected element has been invalidated.
125
125
if ( id === selectedElementID ) {
126
126
setCurrentStyleAndLayout ( styleAndLayout ) ;
127
127
}
Original file line number Diff line number Diff line change 8
8
*/
9
9
10
10
// Reach styles need to come before any component styles.
11
- // This makes overridding the styles simpler.
11
+ // This makes overriding the styles simpler.
12
12
import '@reach/menu-button/styles.css' ;
13
13
import '@reach/tooltip/styles.css' ;
14
14
You can’t perform that action at this time.
0 commit comments