Skip to content

Commit 8db5e33

Browse files
NMinhNguyeniansu
authored andcommitted
Revert lint-related changes made in #4193 (#4211)
1 parent 8a34b7c commit 8db5e33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-error-overlay/src/effects/proxyConsole.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const registerReactStack = () => {
2828
// $FlowFixMe
2929
console.reactStack = frames => reactFrameStack.push(frames);
3030
// $FlowFixMe
31-
console.reactStackEnd = () => reactFrameStack.pop();
31+
console.reactStackEnd = frames => reactFrameStack.pop();
3232
}
3333
};
3434

packages/react-error-overlay/src/utils/getStackFrames.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { unmap } from './unmapper';
1313

1414
function getStackFrames(
1515
error: Error,
16-
unhandledRejection: boolean = false, // eslint-disable-line
16+
unhandledRejection: boolean = false,
1717
contextSize: number = 3
1818
): Promise<StackFrame[] | null> {
1919
const parsedFrames = parse(error);

0 commit comments

Comments
 (0)