From 910bd6292afa5b4eaf39d5d368fcfccdfd33dc23 Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Fri, 24 Apr 2026 18:04:18 +0800 Subject: [PATCH] Clean --- .../RoleImpersonationSelector/RoleImpersonationPopover.tsx | 3 --- .../components/interfaces/RoleImpersonationSelector/index.tsx | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationPopover.tsx b/apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationPopover.tsx index 2e88cf39ab6..27e266b58fa 100644 --- a/apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationPopover.tsx +++ b/apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationPopover.tsx @@ -12,7 +12,6 @@ export interface RoleImpersonationPopoverProps { variant?: 'regular' | 'connected-on-right' | 'connected-on-left' | 'connected-on-both' align?: 'center' | 'start' | 'end' disallowAuthenticatedOption?: boolean - title?: string } export const RoleImpersonationPopover = ({ @@ -20,7 +19,6 @@ export const RoleImpersonationPopover = ({ variant = 'regular', align = 'end', disallowAuthenticatedOption = false, - title, }: RoleImpersonationPopoverProps) => { const state = useRoleImpersonationStateSnapshot() @@ -62,7 +60,6 @@ export const RoleImpersonationPopover = ({ diff --git a/apps/studio/components/interfaces/RoleImpersonationSelector/index.tsx b/apps/studio/components/interfaces/RoleImpersonationSelector/index.tsx index 6a6cb38a233..7a9544119df 100644 --- a/apps/studio/components/interfaces/RoleImpersonationSelector/index.tsx +++ b/apps/studio/components/interfaces/RoleImpersonationSelector/index.tsx @@ -18,7 +18,6 @@ export const RoleImpersonationSelector = ({ serviceRoleLabel, padded = true, disallowAuthenticatedOption = false, - title = 'Database role settings', }: RoleImpersonationSelectorProps) => { const state = useRoleImpersonationStateSnapshot() @@ -61,7 +60,7 @@ export const RoleImpersonationSelector = ({ return ( <>
-

{title}

+

Database role settings

{