-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
WIP Add trigger to new UI #43058
WIP Add trigger to new UI #43058
Conversation
isOpen={isOpen} | ||
onClose={onClose} | ||
submitButton={ | ||
<Button isLoading={isSubmitting} onClick={handleSubmit(onTrigger)}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Button isLoading={isSubmitting} onClick={handleSubmit(onTrigger)}> | |
<Button isLoading={isSubmitting} onClick={() => handleSubmit(onTrigger)}> |
We need to pass the function not the return value of a called function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried this - also as eslint is cmplaining about this... but then it is not working...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1a5d4df
to
25251a1
Compare
25251a1
to
c074d54
Compare
c074d54
to
6929d37
Compare
Close in favor of moving forward with #43367 |
Draft to add a new Trigger UI
WIP: