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

[BUG] It doesn't recognise events, added to as enum #492

Open
mr-parus opened this issue Sep 11, 2024 · 0 comments
Open

[BUG] It doesn't recognise events, added to as enum #492

mr-parus opened this issue Sep 11, 2024 · 0 comments

Comments

@mr-parus
Copy link

mr-parus commented Sep 11, 2024

Events declared in the section using the Dynamic JavaScript Object Keys are ignored by the visual editor

enum AuthActorEventType {
   NAVIGATE_BACK: 'a',
   USE_CURRENT_ACCOUNT: 'b',
   ...
}


...
       alreadySignedIn: {
            on: {
                [AuthActorEventType.NAVIGATE_BACK]: 'exit',
                [AuthActorEventType.USE_CURRENT_ACCOUNT]: 'exit',
                ...
            },
        },
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

No branches or pull requests

1 participant