Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
499adbe7
Commit
499adbe7
authored
7 years ago
by
Nayef Ghattas
Committed by
Joe Haddad
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix shortcut handling in react-error-overlay (#2238)
parent
af7fbae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-error-overlay/src/overlay.js
+4
-0
packages/react-error-overlay/src/overlay.js
with
4 additions
and
0 deletions
+4
-0
packages/react-error-overlay/src/overlay.js
+
4
-
0
View file @
499adbe7
...
...
@@ -110,6 +110,10 @@ function renderErrorByIndex(index: number) {
}
function
switchError
(
offset
)
{
if
(
errorReferences
.
length
===
0
)
{
return
;
}
let
nextView
=
currReferenceIndex
+
offset
;
if
(
nextView
<
0
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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