Greetings.
I’ve read and trial-and-error’ed through many tutorials but I am pretty new to react, node and shopify and I did not get this combination to work.
I have a function that can set and unset a scripttag, the app has the corresponding rights, that works - but only if I call it from server.js
I can not call it from my SettingToggle in index.js, no matter what I try, I’m running into errors.
What do I need to do exactly to call functions from the admin interface page index.js ?
Thanks alot!