Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: converted const to a arrow function #187

Closed

Conversation

rupato-deriv
Copy link
Contributor

This pull request includes changes to the src/external/bot-skeleton/scratch/utils/index.js file to improve the handling of context menu options by converting a constant array to a function that returns an array. This change ensures that the context menu options are always evaluated at runtime, which can help with dynamic updates and localization.

Copy link

Preview Link: https://Rupato-Fix--context1.bot-65f.pages.dev

Name Result
Build status Completed ✅
Preview URL Visit Preview
Action URL Visit Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants