mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-23 05:01:49 +10:00
fix: multiple resumes are created if "Create Resume" button is spammed
This commit is contained in:
@ -91,7 +91,7 @@ const DataModal = ({
|
|||||||
: title.create;
|
: title.create;
|
||||||
|
|
||||||
const submitAction = (
|
const submitAction = (
|
||||||
<Button type="submit" onClick={() => onSubmit(values)}>
|
<Button type="submit" isLoading={loading} onClick={() => onSubmit(values)}>
|
||||||
{loading ? t('shared.buttons.loading') : getTitle}
|
{loading ? t('shared.buttons.loading') : getTitle}
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user