Modes can't begin with numbers
snicol21 opened this issue · comments
Spencer Nicol commented
Drew Powers commented
Oh no that’s just JavaScript: you have to surround the keys with quotes. Identifiers can’t start with a number character (but they can have a number character elsewhere in the identifier).
But let me know if when generating code if there’s an error.
Drew Powers commented
Oh I see this is a bug with generation. Will post a fix to this (sorry didn’t mean to close)
Drew Powers commented
Fixed! Published new versions of everything. But bumping @cobalt-ui/plugin-js
specifically should fix your issue