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
[chore] add new async hook logic for modals #92
Conversation
What is this PR solving? It should be tested more. I couldn't do that. I only reviewed the code. |
Converting to draft, once we need to test it, also fix the conflicts. |
@@ -154,6 +132,7 @@ export const AddApproveArbitrator = ({ | |||
setAction("added"); | |||
}) | |||
.catch((e) => { | |||
console.error(e); |
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.
remove?
return ( | ||
<form ref={closeHandlerRef} autoComplete="off" onSubmit={handleSubmit}> | ||
<ScopedModal | ||
title={title} | ||
body={ModalBody()} | ||
footer={ModalFooter()} | ||
body={<ModalBody />} |
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.
be careful here
body={ModalBody()} | ||
footer={ModalFooter()} | ||
body={<ModalBody />} | ||
footer={<ModalFooter />} |
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.
be careful here
…ed button state when loading
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.
LGTM
No description provided.