{localFilters.map((filter, index) => (
diff --git a/apps/studio/components/grid/components/header/sort/SortPopover.tsx b/apps/studio/components/grid/components/header/sort/SortPopover.tsx
index f7cc7e20400..6895343fe84 100644
--- a/apps/studio/components/grid/components/header/sort/SortPopover.tsx
+++ b/apps/studio/components/grid/components/header/sort/SortPopover.tsx
@@ -5,11 +5,7 @@ import { useTableSort } from 'components/grid/hooks/useTableSort'
import { useTableEditorTableStateSnapshot } from 'state/table-editor-table'
import { SortPopoverPrimitive } from './SortPopoverPrimitive'
-export interface SortPopoverProps {
- portal?: boolean
-}
-
-export const SortPopover = ({ portal = true }: SortPopoverProps) => {
+export const SortPopover = () => {
const { urlSorts, onApplySorts } = useTableSort()
const tableState = useTableEditorTableStateSnapshot()
const tableName = tableState?.table?.name || ''
@@ -19,5 +15,5 @@ export const SortPopover = ({ portal = true }: SortPopoverProps) => {
return tableName && urlSorts ? formatSortURLParams(tableName, urlSorts) : []
}, [tableName, urlSorts])
- return
+ return
}
diff --git a/apps/studio/components/grid/components/header/sort/SortPopoverPrimitive.tsx b/apps/studio/components/grid/components/header/sort/SortPopoverPrimitive.tsx
index 7cba3696a96..0472cc0f6e1 100644
--- a/apps/studio/components/grid/components/header/sort/SortPopoverPrimitive.tsx
+++ b/apps/studio/components/grid/components/header/sort/SortPopoverPrimitive.tsx
@@ -18,7 +18,6 @@ export interface SortPopoverPrimitiveProps {
buttonText?: string
sorts: Sort[]
onApplySorts: (sorts: Sort[]) => void
- portal?: boolean
}
/**
@@ -34,7 +33,6 @@ export const SortPopoverPrimitive = ({
buttonText,
sorts,
onApplySorts,
- portal = true,
}: SortPopoverPrimitiveProps) => {
const [open, setOpen] = useState(false)
const snap = useTableEditorTableStateSnapshot()
@@ -228,7 +226,7 @@ export const SortPopoverPrimitive = ({
{displayButtonText}
-
+
{content}
diff --git a/apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationPopover.tsx b/apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationPopover.tsx
index 318f03e3546..647e706b306 100644
--- a/apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationPopover.tsx
+++ b/apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationPopover.tsx
@@ -8,14 +8,12 @@ import { getAvatarUrl, getDisplayName } from '../Auth/Users/Users.utils'
import RoleImpersonationSelector from './RoleImpersonationSelector'
export interface RoleImpersonationPopoverProps {
- portal?: boolean
serviceRoleLabel?: string
variant?: 'regular' | 'connected-on-right' | 'connected-on-left' | 'connected-on-both'
align?: 'center' | 'start' | 'end'
}
const RoleImpersonationPopover = ({
- portal = true,
serviceRoleLabel,
variant = 'regular',
align = 'end',
@@ -58,12 +56,7 @@ const RoleImpersonationPopover = ({