Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error with empty ImageContainerSrcs.sizes array #719

Merged
merged 1 commit into from
May 19, 2020

Conversation

aChanEP
Copy link
Contributor

@aChanEP aChanEP commented May 19, 2020

Description:

This PR fixes the case where no sizes are defined in the ImageContainerSrcs.sizes. Picture element will now still work with just variance in types

Linting:

  • No linting errors

Tests:

  • E2E tests (npm test run with e2e)
  • Manual tests
  • Accessibility tests (no new react-axe errors in console)

Documentation:

  • Requires documentation updates
  • Requires Storybook component updates

@aChanEP aChanEP changed the title [WIP]enable no sizes in configs Fix error with empty ImageContainerSrcs.sizes array May 19, 2020
@aChanEP aChanEP requested a review from shaunmaharaj May 19, 2020 20:51
@shaunmaharaj shaunmaharaj merged commit 79dde85 into master May 19, 2020
@shaunmaharaj shaunmaharaj deleted the no-sizes-config branch May 19, 2020 22:06
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.

None yet

2 participants