Skip to content

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

fix

Joshen Lim4d1f25d4a6d4
diff --git a/studio/components/grid/components/header/Header.tsx b/studio/components/grid/components/header/Header.tsx
index a1abc2d270c..1a27e3a5fff 100644
--- a/studio/components/grid/components/header/Header.tsx
+++ b/studio/components/grid/components/header/Header.tsx
@@ -322,13 +322,13 @@ const RowHeader = ({ table, sorts, filters }: RowHeaderProps) => {
if (allRowsSelected) {
try {
if (filters.length === 0) {
- truncateRows({
+ await truncateRows({
projectRef: project.ref,
connectionString: project.connectionString,
table,
})
} else {
- deleteAllRows({
+ await deleteAllRows({
projectRef: project.ref,
connectionString: project.connectionString,
table,