Closed hyldmo closed 11 months ago
Closes #5.
Some plugins or user code might use other types. For instance, a list parameter being a promise, if the list values are being populated asynchronously.
This PR adds a check that a list parameter is actually an array before running .map() on it.
.map()
Thanks!
Released in https://github.com/sanity-io/assist/releases/tag/v1.2.7
Closes #5.
Some plugins or user code might use other types. For instance, a list parameter being a promise, if the list values are being populated asynchronously.
This PR adds a check that a list parameter is actually an array before running
.map()
on it.