Skip to content

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

fix failing tests

TzeYiingb688f281f257
diff --git a/studio/components/interfaces/Settings/Logs/Logs.constants.ts b/studio/components/interfaces/Settings/Logs/Logs.constants.ts
index e41185becac..f1aafe8c6cf 100644
--- a/studio/components/interfaces/Settings/Logs/Logs.constants.ts
+++ b/studio/components/interfaces/Settings/Logs/Logs.constants.ts
@@ -183,7 +183,7 @@ FROM
${table}${where ? ' WHERE\n ' + where : ''}
LIMIT 100
`
-export const cleanQuery = (str: string) => str.replaceAll(/\n/g, ' ')
+export const cleanQuery = (str: string) => str.replace(/\n/g, ' ')
// .replace(/\n.*\-\-.*(\n)?$?/, "")