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
returnBdApi.React.createElement(BdApi.Webpack.getModule(m=>m?.toString?.()?.includes?.('helpdeskArticleId')),{onChange: onChangeFunc, note, value, children });
Secondary, you should add better error handling because components like Switch, Slider and so on can change at any time and cause your settings panel to crash.
The text was updated successfully, but these errors were encountered:
I fixed the first problem. I'm not sure what you want me to do with the second one though. Just not show anything on the settings panel if the components are missing? I think the error message would be more useful...
First of all, this Switch component should be cached so it doesn't do a webpack search every time you open the settings panel.
Secondary, you should add better error handling because components like
Switch
,Slider
and so on can change at any time and cause your settings panel to crash.The text was updated successfully, but these errors were encountered: