Răsfoiți Sursa

chore: remove todo

Evan You 6 ani în urmă
părinte
comite
f241c92917
1 a modificat fișierele cu 0 adăugiri și 1 ștergeri
  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')