The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(privacy settings): toReversed use (#35885)
Charisd218d9190b87
diff --git a/packages/ui-patterns/PrivacySettings/index.tsx b/packages/ui-patterns/PrivacySettings/index.tsxindex ea1607b3fb7..616b142936c 100644--- a/packages/ui-patterns/PrivacySettings/index.tsx+++ b/packages/ui-patterns/PrivacySettings/index.tsx@@ -64,15 +64,16 @@ export const PrivacySettings = ({size="medium"><div className="pt-3 divide-y divide-border">- {categories- ?.toReversed()- .map((category) => (- <Category- key={category.slug}- category={category}- handleServicesChange={handleServicesChange}- />- ))}+ {categories &&+ [...categories]+ .reverse()+ .map((category) => (+ <Category+ key={category.slug}+ category={category}+ handleServicesChange={handleServicesChange}+ />+ ))}</div></Modal></>