The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
update to `null`
Jonathan Summers-Muirf7ec4e37379e
diff --git a/studio/hooks/analytics/useLogsPreview.tsx b/studio/hooks/analytics/useLogsPreview.tsxindex fc1273c0f68..5602b02e8db 100644--- a/studio/hooks/analytics/useLogsPreview.tsx+++ b/studio/hooks/analytics/useLogsPreview.tsx@@ -64,8 +64,9 @@ function useLogsPreview(// check that SQL is ready for the logs requestif(!params.sql || !params.rawSql) {- // return empty url to restrict unnecessary requests to api- return ''+ // return null to restrict unnecessary requests to api+ // https://swr.vercel.app/docs/conditional-fetching#conditional+ return null}// if prev page data is 100 items, could possibly have more records that are not yet fetched within this interval@@ -97,8 +98,9 @@ function useLogsPreview(// check that SQL is ready for the count requestif(!params.sql || !params.rawSql) {- // return empty url to restrict unnecessary requests to api- return ''+ // return null to restrict unnecessary requests to api+ // https://swr.vercel.app/docs/conditional-fetching#conditional+ return null}return `${API_URL}/projects/${projectRef}/analytics/endpoints/logs.all?${genQueryParams(