You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But there is a quite anoying error when saving my plugin main file or any other imported components. The plugin crashes the whole backend and throws the error that I have a field twice in my code. I think I know what’s happening here: the hot reload reloads the plugin with all of its fields but somehow some parts of the plugin stays rendered and so there are two fields with the same name. But I don’t know why or how to avoid it.
A hard reload of the backend fixes it but the next saving of a tsx or ts file is never to far away 😉
Btw: all is fine when I work in my scss files. No error here.
Can you help me?
If you need more info please tell me.
The text was updated successfully, but these errors were encountered:
Hey folks! I am running into an anoying error and I don’t know why. I am developing a payload plugin and all seems to run fine.
https://github.com/art-design-digital/payload-plugin-seo
But there is a quite anoying error when saving my plugin main file or any other imported components. The plugin crashes the whole backend and throws the error that I have a field twice in my code. I think I know what’s happening here: the hot reload reloads the plugin with all of its fields but somehow some parts of the plugin stays rendered and so there are two fields with the same name. But I don’t know why or how to avoid it.
A hard reload of the backend fixes it but the next saving of a tsx or ts file is never to far away 😉
Btw: all is fine when I work in my scss files. No error here.
Can you help me?
If you need more info please tell me.
The text was updated successfully, but these errors were encountered: