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

Do not create empty Image component #28

Merged
merged 1 commit into from
Feb 12, 2021

Conversation

lukefanning
Copy link
Contributor

Creating an empty ImageBackground component with no props results in a TypeError: Cannot read property 'width' of undefined when using ImageBackground error immediately

@tastyqbit
Copy link

Can we please get this merged @ihor ? I love your component but I am getting the same error as ssg-luke and I would rather not fork the library. Thanks in advance!

@ihor ihor merged commit d2d8c26 into ihor:master Feb 12, 2021
@ihor
Copy link
Owner

ihor commented Feb 12, 2021

Thanks @ssg-luke !
@tastyqbit I just merged and published. I'm sorry for the sloppy maintenance, got super busy at work.

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.

3 participants