diff --git a/packages/react-devtools-shared/src/backend/console.js b/packages/react-devtools-shared/src/backend/console.js index 7d6c22abee1e..7bd7efbcd5a5 100644 --- a/packages/react-devtools-shared/src/backend/console.js +++ b/packages/react-devtools-shared/src/backend/console.js @@ -47,7 +47,7 @@ export function dangerous_setTargetConsoleForTesting( // v16 renderers should use this method to inject internals necessary to generate a component stack. // These internals will be used if the console is patched. -// Injecting them separately allows the console to easily be patched or unpacted later (at runtime). +// Injecting them separately allows the console to easily be patched or un-patched later (at runtime). export function registerRenderer(renderer: ReactRenderer): void { const {getCurrentFiber, findFiberByHostInstance, version} = renderer; diff --git a/packages/react-devtools-shared/src/backend/describeComponentFrame.js b/packages/react-devtools-shared/src/backend/describeComponentFrame.js index 20034df83dff..b9830fdf717d 100644 --- a/packages/react-devtools-shared/src/backend/describeComponentFrame.js +++ b/packages/react-devtools-shared/src/backend/describeComponentFrame.js @@ -10,7 +10,7 @@ // This file was forked from the React GitHub repo: // https://raw.githubusercontent.com/facebook/react/master/packages/shared/describeComponentFrame.js // -// It has been modified sligthly to add a zero width space as commented below. +// It has been modified slightly to add a zero width space as commented below. const BEFORE_SLASH_RE = /^(.*)[\\/]/; diff --git a/packages/react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/AutoSizeInput.js b/packages/react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/AutoSizeInput.js index 9613f5e15095..4adcae74fb90 100644 --- a/packages/react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/AutoSizeInput.js +++ b/packages/react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/AutoSizeInput.js @@ -38,7 +38,7 @@ export default function AutoSizeInput({ } }; - // Copy text stlyes from to hidden sizing
+ // Copy text styles from to hidden sizing
useLayoutEffect(() => { if ( typeof window.getComputedStyle !== 'function' || diff --git a/packages/react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/context.js b/packages/react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/context.js index a3a2bcc79913..52b1a285dda6 100644 --- a/packages/react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/context.js +++ b/packages/react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/context.js @@ -121,7 +121,7 @@ function NativeStyleContextController({children}: Props) { } else { resource.write(element, styleAndLayout); - // Schedule update with React if the curently-selected element has been invalidated. + // Schedule update with React if the currently-selected element has been invalidated. if (id === selectedElementID) { setCurrentStyleAndLayout(styleAndLayout); } diff --git a/packages/react-devtools-shared/src/devtools/views/DevTools.js b/packages/react-devtools-shared/src/devtools/views/DevTools.js index f73e0848e6c3..5787a11aeb92 100644 --- a/packages/react-devtools-shared/src/devtools/views/DevTools.js +++ b/packages/react-devtools-shared/src/devtools/views/DevTools.js @@ -8,7 +8,7 @@ */ // Reach styles need to come before any component styles. -// This makes overridding the styles simpler. +// This makes overriding the styles simpler. import '@reach/menu-button/styles.css'; import '@reach/tooltip/styles.css';