Scheduling infrastructure for absolutely everyone.
chore: fixed a few destructive buttons (#15990)
Peer Richelsen1a8492b9c25b
diff --git a/apps/web/components/settings/platform/oauth-clients/OAuthClientCard.tsx b/apps/web/components/settings/platform/oauth-clients/OAuthClientCard.tsxindex d57f254f55d..1c658eb7ac2 100644--- a/apps/web/components/settings/platform/oauth-clients/OAuthClientCard.tsx+++ b/apps/web/components/settings/platform/oauth-clients/OAuthClientCard.tsx@@ -148,11 +148,7 @@ export const OAuthClientCard = ({onClick={() => router.push(`/settings/platform/oauth-clients/${id}/edit`)}>Edit</Button>- <Button- className="bg-red-500 text-white hover:bg-red-600"- loading={isLoading}- disabled={isLoading}- onClick={() => onDelete(id)}>+ <Button color="destructive" loading={isLoading} disabled={isLoading} onClick={() => onDelete(id)}>Delete</Button></div>diff --git a/apps/web/pages/settings/my-account/profile.tsx b/apps/web/pages/settings/my-account/profile.tsxindex 5ce6a9f1930..1e17681c785 100644--- a/apps/web/pages/settings/my-account/profile.tsx+++ b/apps/web/pages/settings/my-account/profile.tsx@@ -641,8 +641,7 @@ const ProfileForm = ({{showRemoveAvatarButton && (<Button- color="secondary"- className="hover:bg-red-600"+ color="destructive"onClick={() => {onChange(null);}}>@@ -717,8 +716,8 @@ const ProfileForm = ({<span className="text-default ml-2 text-sm">{user.identityProviderEmail}</span>)}<div className="flex flex-1 justify-end">- <Button color="destructive" onClick={onDisconnect} size="sm">- Disconnect+ <Button color="destructive" onClick={onDisconnect}>+ {t("disconnect")}</Button></div></div>