Skip to content

Fix ESLint errors in image preview pack file#3918

Merged
aduth merged 1 commit intomasterfrom
fix/image-preview-lint-errors
Jul 14, 2020
Merged

Fix ESLint errors in image preview pack file#3918
aduth merged 1 commit intomasterfrom
fix/image-preview-lint-errors

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Jul 14, 2020

Why: As a developer, when I run yarn run lint I expect no errors, so that I can have confidence in the quality of the code.

The changes proposed in this pull request resolve a lint error in the image previews pack.

This occurred as an unfortunate timing overlap between the merges of #3901 and #3914 , where the changes introduced in the latter surfaced new errors in the former.

The changes also bring the added code in line with the previous implementation of imagePreview:

const { files } = event.target;

@aduth aduth requested a review from solipet July 14, 2020 20:15
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aduth aduth merged commit 094161f into master Jul 14, 2020
@aduth aduth deleted the fix/image-preview-lint-errors branch July 14, 2020 20:50
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.

2 participants