Closed ervibern closed 10 months ago
Same issue here, I think this is related to the styled-components missmatch issue (#52)
is there any news about it? It would be very useful to be able to use it
Thanks for reporting! A fix for this issue is forthcoming, and should be out in the next Sanity studio release.
is there any news about it? It would be very useful to be able to use it
@plcdnl The latest version of the Studio fixes this bug! v3.24.1 https://github.com/sanity-io/sanity/releases
Describe the bug
I created several internationalized fields in my scheme. The
internationalizedArrayString
works well whileinternationalizedArrayText
results in a Studio crash.Error: Cannot read properties of undefined (reading 'default')
In sanity.config.js, I added a plugin, like that:
To Reproduce
Steps to reproduce the behavior:
Setup a scheme as above and run
npm run dev
to open localhost.Expected behavior
Expect both string and text fields to be internationalized.
Screenshots
Which versions of Sanity are you using?
@sanity/cli (global) 3.23.4 (up to date) @sanity/eslint-config-studio 3.0.1 (up to date) @sanity/vision 3.23.4 (up to date) sanity 3.23.4 (up to date)
What operating system are you using?
MacOS Ventura 13.4
Which versions of Node.js / npm are you running?
npm: 10.2.3 node: v20.10.0
Additional context
"sanity-plugin-internationalized-array": "^1.10.3",