Commit 2c2fe37
authored
Need to enforce images list validation
In some cases, for instance while running some tests via storyshot, we can get a blocker with this error message:
`Error: Uncaught [TypeError: Cannot read property 'querySelectorAll' of undefined]`
Adding `this.list &&` at the beginning of this test will avoid such of issues and let pass well the tests
I would really appreciate that fix to be able to move forward from `0.25.2` of react-slick to the latest version
Thanks1 parent c2b148b commit 2c2fe37
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| |||
0 commit comments