Quellcode durchsuchen

chore: remove todo

Evan You vor 6 Jahren
Ursprung
Commit
f241c92917
1 geänderte Dateien mit 0 neuen und 1 gelöschten Zeilen
  1. 0 1
      packages/runtime-core/src/errorHandling.ts

+ 0 - 1
packages/runtime-core/src/errorHandling.ts

@@ -120,7 +120,6 @@ export function handleError(
 
 function logError(err: Error, type: ErrorTypes, contextVNode: VNode | null) {
   // default behavior is crash in prod & test, recover in dev.
-  // TODO we should probably make this configurable via `createApp`
   if (
     __DEV__ &&
     !(typeof process !== 'undefined' && process.env.NODE_ENV === 'test')