lock
lock copied to clipboard
[ESD-22705] Don't pass function to ConfirmationPane unless closable is enabled
Changes
Don't always provide a function to SuccessPane instead pass the closeHandler variable so that SuccessPane can correctly distinguish whether to show the close buttong
Testing
This change updates the snapshot as closable is false in that test.
In order to test in the playground change closable to false and passwordlessMethod to link in support/index.html
Checklist
- [x] I have read the Auth0 general contribution guidelines
- [x] I have read the Auth0 Code of Conduct
- [x] All code quality tools/guidelines have been run/followed
- [x] All relevant assets have been compiled