chore: remove todo
This commit is contained in:
parent
1b9bd6912e
commit
f241c92917
@ -120,7 +120,6 @@ export function handleError(
|
|||||||
|
|
||||||
function logError(err: Error, type: ErrorTypes, contextVNode: VNode | null) {
|
function logError(err: Error, type: ErrorTypes, contextVNode: VNode | null) {
|
||||||
// default behavior is crash in prod & test, recover in dev.
|
// default behavior is crash in prod & test, recover in dev.
|
||||||
// TODO we should probably make this configurable via `createApp`
|
|
||||||
if (
|
if (
|
||||||
__DEV__ &&
|
__DEV__ &&
|
||||||
!(typeof process !== 'undefined' && process.env.NODE_ENV === 'test')
|
!(typeof process !== 'undefined' && process.env.NODE_ENV === 'test')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user