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

Images loaded twice (in my carousel) #11

Open
oudoulj opened this issue Jan 8, 2020 · 0 comments
Open

Images loaded twice (in my carousel) #11

oudoulj opened this issue Jan 8, 2020 · 0 comments

Comments

@oudoulj
Copy link

oudoulj commented Jan 8, 2020

I have a react-slick carousel loading a couple of images.
I noticed that as soon as I add
const { data, loading, error } = usePalette(url);
to my code, images are loaded twice.

This can easily be witnessed/tested on that page
https://codesandbox.io/s/react-slick-with-palette-53j28
by commenting out (or activating) line 19 (with usePalette, at this time of writing)

palette

palette_network

Is it a known issue and how can I prevent this ?
Thank you !

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

No branches or pull requests

2 participants