Skip to content

Add key for each line in errors#180

Open
hughrawlinson wants to merge 1 commit intothe-via:mainfrom
hughrawlinson:key-for-error-lines
Open

Add key for each line in errors#180
hughrawlinson wants to merge 1 commit intothe-via:mainfrom
hughrawlinson:key-for-error-lines

Conversation

@hughrawlinson
Copy link
Copy Markdown

React was yelling at me because this map didn't have a key. Since they're strings, lines of an error, I think they're fine as keys themselves - if the line is too long to be a good idea to use as a key, it probably is also too long to be displayed without truncation, so I'll assume both are going to be reasonable lengths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant