Notiflix is a pure JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
I expected that first there would be one modal window and I would enter the data, then I would get a message about deleting the profile and an option to confirm it
Describe the error
Two confirmations in a row do not work
To play
Steps to reproduce the behavior:
Confirm.prompt( 'Reauthorization', 'Please enter your password', '', 'Send', 'Cancel', answer => { setPassword(answer); }, () => {}, {} ); };
Confirm.show( 'Profile deletion!', 'Really delete?', 'So', 'No', () => { }, () => {} );
Expected behavior
I expected that first there would be one modal window and I would enter the data, then I would get a message about deleting the profile and an option to confirm it