-
Notifications
You must be signed in to change notification settings - Fork 96
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 Enable bypassing entwine onsubmit handler #1685
FIX Enable bypassing entwine onsubmit handler #1685
Conversation
2db1365
to
6e6acce
Compare
}; | ||
|
||
Toast.defaultProps = { | ||
actions: [] | ||
actions: [], | ||
onDismiss: () => {}, |
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.
This is to fix an unrelated console warning after running yarn dev
"Warning: Failed prop type: The prop toasts[0].onDismiss
is marked as required in Toasts
, but its value is undefined
."
6e6acce
to
1e64bf5
Compare
ed6e7d5
to
85cb4c2
Compare
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.
Looks okay. Will merge when the elemental PR is ready.
85cb4c2
to
ed5c451
Compare
ed5c451
to
6413543
Compare
I've rebased the PR to solved the merge conflict and will merge on green. |
Issue silverstripe/silverstripe-elemental#329