linaria
linaria copied to clipboard
Object interpolation doesn't work with enums
https://codesandbox.io/s/blissful-pine-j7z3m?file=/pages/index.tsx
This is a strange bug. I've created a codesandbox (link is above) that demonstrates it well:
There you can see the different variants and see which combinations work and which specific combination does not work. The necessary conditions are: -An object is being interpolated -The object has at least 2 properties -One of the keys for those properties is an enum
It looks like the shaker shakes a bit more code than expected. I'll take a closer look in a couple of days. Thank you!