Merge pull request #477 from ceoshikhar/develop

Fixed bug where multiple resumes are created if "Create Resume" button is spammed
This commit is contained in:
Amruth Pillai
2021-04-03 17:18:54 +05:30
committed by GitHub
+1 -1
View File
@@ -91,7 +91,7 @@ const DataModal = ({
: title.create;
const submitAction = (
<Button type="submit" onClick={() => onSubmit(values)}>
<Button type="submit" isLoading={loading} onClick={() => onSubmit(values)}>
{loading ? t('shared.buttons.loading') : getTitle}
</Button>
);