Skip to content

Commit 7357252

Browse files
committed
update commnet
1 parent b97929a commit 7357252

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/next/src/next-devtools/dev-overlay/hooks/use-runtime-error.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// This is temporary solution to share the error contents across
2-
// the error overlay and the DevTools issues tab.
3-
41
import type { ReadyRuntimeError } from '../utils/get-error-by-type'
52
import type { HydrationErrorState } from '../../shared/hydration-error'
63

@@ -49,7 +46,7 @@ export function useRuntimeError({
4946
const errorCode = extractNextErrorCode(error)
5047
const errorType = getErrorTypeLabel(error, activeError.type)
5148

52-
// TOOD: May be better to always treat everything past the first blank line as notes
49+
// TODO(GH#78140): May be better to always treat everything past the first blank line as notes
5350
// We're currently only special casing hydration error messages.
5451
const notes = errorDetails.notes
5552
const hydrationWarning = errorDetails.hydrationWarning

0 commit comments

Comments
 (0)