phenixdigital / phoenix_storybook

A pluggable storybook for your Phoenix components.
MIT License
674 stars 54 forks source link

Explicitly define step for range with negative index to get rid of warning #420

Closed sltong closed 8 months ago

sltong commented 8 months ago

Explicitly define the step for range with a negative index to get rid of the negative steps are not supported in Enum.slice/2, pass 1..-1//1 instead warning.

cblavier commented 8 months ago

Thanks!