Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
06770e4c
Unverified
Commit
06770e4c
authored
Nov 17, 2021
by
Yang Feng
Committed by
GitHub
Nov 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Click-to-open error state for development overlay #14461 (#21819)
parent
d87dc2b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CodeFrame.tsx
...v-overlay/src/internal/components/CodeFrame/CodeFrame.tsx
+1
-1
RuntimeError.tsx
...react-dev-overlay/src/internal/container/RuntimeError.tsx
+1
-1
No files found.
packages/react-dev-overlay/src/internal/components/CodeFrame/CodeFrame.tsx
View file @
06770e4c
...
...
@@ -55,7 +55,7 @@ export const CodeFrame: React.FC<CodeFrameProps> = function CodeFrame({
.
then
(
()
=>
{},
()
=>
{
// TODO: report error
console
.
error
(
'There was an issue opening this code in your editor.'
)
}
)
},
[
stackFrame
])
...
...
packages/react-dev-overlay/src/internal/container/RuntimeError.tsx
View file @
06770e4c
...
...
@@ -33,7 +33,7 @@ const CallStackFrame: React.FC<{
.
then
(
()
=>
{},
()
=>
{
// TODO: report error
console
.
error
(
'There was an issue opening this code in your editor.'
)
}
)
},
[
hasSource
,
f
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment