fix(studio): copy updates to revoke oauth modal (#46687)

This commit is contained in:
Alex Hall authored and GitHub committed 2026-06-05 18:10:49 -04:00
1 parent b9f95c9aa9
commit 3e3496ef6c
1 file changed
+11 -4
@@ -40,13 +40,13 @@ export const RevokeAppModal = ({ selectedApp, onClose }: RevokeAppModalProps) =>
<AlertDialog open={selectedApp !== undefined} onOpenChange={onClose}>
<AlertDialogContent size="medium">
<AlertDialogHeader>
<AlertDialogTitle>{`Confirm to revoke ${selectedApp?.name}`}</AlertDialogTitle>
<AlertDialogTitle>{`Revoke access for ${selectedApp?.name}?`}</AlertDialogTitle>
<AlertDialogDescription>
<div className="flex flex-col space-y-2">
<Admonition
type="warning"
title="This action cannot be undone"
description={`${selectedApp?.name} application will no longer have access to your organization's settings
description={`${selectedApp?.name} will no longer have access to your organization's settings
and projects.`}
/>
<ul className="space-y-5">
@@ -56,8 +56,15 @@ export const RevokeAppModal = ({ selectedApp, onClose }: RevokeAppModalProps) =>
<strong>Before you remove this app, consider:</strong>
<ul className="space-y-2 mt-2">
<li className="list-disc ml-4">
No users are currently using this application. The application will no
longer have access to your organization after being revoked.
The application will no longer have access to your organization after being
revoked.
</li>
<li className="list-disc ml-4">
This will remove the application for all members in your organization.
</li>
<li className="list-disc ml-4">
Restoring access will require an organization administrator to re-authorize
the application.
</li>
</ul>
</div>