This commit is contained in:
Philip Cheung 2024-10-08 11:30:52 +08:00
parent a029cadf96
commit 8921bc080c
1 changed files with 2 additions and 1 deletions

View File

@ -212,7 +212,7 @@ const AddAboutUs = ({ isOpen, onClose }: AddAboutUsProps) => {
</ModalBody>
<ModalFooter gap={3}>
<Button variant="primary" type="submit" isLoading={isSubmitting}>
<Button variant="primary" type="submit" isLoading={isSubmitting || mutation.isPending}>
Save
</Button>
<Button onClick={onClose}>Cancel</Button>
@ -222,4 +222,5 @@ const AddAboutUs = ({ isOpen, onClose }: AddAboutUsProps) => {
</>
)
}
export default AddAboutUs