Skip to content

Commit 15672ac

Browse files
committed
Fixed spelling error
1 parent 8c18164 commit 15672ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-dev-utils/webpackHotDevClient.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function showErrorOverlay(message) {
123123
});
124124
}
125125

126-
function destoryOverlay() {
126+
function destroyOverlay() {
127127
if(!overlayDiv) {
128128
//linting from previous linting was successful
129129
return;
@@ -168,7 +168,7 @@ function clearOutdatedErrors() {
168168
// Successful compilation.
169169
function handleSuccess() {
170170
clearOutdatedErrors();
171-
destoryOverlay();
171+
destroyOverlay();
172172

173173
var isHotUpdate = !isFirstCompilation;
174174
isFirstCompilation = false;
@@ -183,7 +183,7 @@ function handleSuccess() {
183183
// Compilation with warnings (e.g. ESLint).
184184
function handleWarnings(warnings) {
185185
clearOutdatedErrors();
186-
destoryOverlay();
186+
destroyOverlay();
187187

188188
var isHotUpdate = !isFirstCompilation;
189189
isFirstCompilation = false;

0 commit comments

Comments
 (0)