Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix policy panel condition (#40886)

Saxon Fletcher47cf6637ddd7
diff --git a/apps/studio/pages/project/[ref]/auth/policies.tsx b/apps/studio/pages/project/[ref]/auth/policies.tsx
index c6503701a2a..992749ed6c2 100644
--- a/apps/studio/pages/project/[ref]/auth/policies.tsx
+++ b/apps/studio/pages/project/[ref]/auth/policies.tsx
@@ -190,7 +190,6 @@ const AuthPoliciesPage: NextPageWithLayout = () => {
const handleSelectEditPolicy = useCallback(
(policy: PostgresPolicy) => {
- setSelectedPolicyIdToEdit(policy.id.toString())
setSelectedTable(undefined)
if (isInlineEditorEnabled) {