Scheduling infrastructure for absolutely everyone.
feat: Added loading animation in button while performing update mutation (#10622)
Raju kadel4d9a7c1b69ec
diff --git a/apps/web/pages/settings/my-account/general.tsx b/apps/web/pages/settings/my-account/general.tsxindex 9c48012b55b..f88574bf0a0 100644--- a/apps/web/pages/settings/my-account/general.tsx+++ b/apps/web/pages/settings/my-account/general.tsx@@ -225,7 +225,12 @@ const GeneralView = ({ localeProp, user }: GeneralViewProps) => {)}/></div>- <Button disabled={isDisabled} color="primary" type="submit" className="mt-8">+ <Button+ loading={mutation.isLoading}+ disabled={isDisabled}+ color="primary"+ type="submit"+ className="mt-8"><>{t("update")}</></Button></Form>