mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-22 20:51:29 +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;
|
||||
|
||||
const submitAction = (
|
||||
<Button type="submit" onClick={() => onSubmit(values)}>
|
||||
<Button type="submit" isLoading={loading} onClick={() => onSubmit(values)}>
|
||||
{loading ? t('shared.buttons.loading') : getTitle}
|
||||
</Button>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user