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(
4747
4848// v16 renderers should use this method to inject internals necessary to generate a component stack.
4949// 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).
5151export function registerRenderer ( renderer : ReactRenderer ) : void {
5252 const { getCurrentFiber, findFiberByHostInstance, version} = renderer ;
5353
Original file line number Diff line number Diff line change 1010// This file was forked from the React GitHub repo:
1111// https://raw.githubusercontent.com/facebook/react/master/packages/shared/describeComponentFrame.js
1212//
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.
1414
1515const BEFORE_SLASH_RE = / ^ ( .* ) [ \\ / ] / ;
1616
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default function AutoSizeInput({
3838 }
3939 } ;
4040
41- // Copy text stlyes from <input> to hidden sizing <div>
41+ // Copy text styles from <input> to hidden sizing <div>
4242 useLayoutEffect ( ( ) => {
4343 if (
4444 typeof window . getComputedStyle !== 'function' ||
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ function NativeStyleContextController({children}: Props) {
121121 } else {
122122 resource . write ( element , styleAndLayout ) ;
123123
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.
125125 if ( id === selectedElementID ) {
126126 setCurrentStyleAndLayout ( styleAndLayout ) ;
127127 }
Original file line number Diff line number Diff line change 88 */
99
1010// Reach styles need to come before any component styles.
11- // This makes overridding the styles simpler.
11+ // This makes overriding the styles simpler.
1212import '@reach/menu-button/styles.css' ;
1313import '@reach/tooltip/styles.css' ;
1414
You can’t perform that action at this time.
0 commit comments