The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
tweaks memoization dependencies to be more generic
TzeYiing5fe468c32594
diff --git a/studio/components/interfaces/Settings/Logs/LogTable.tsx b/studio/components/interfaces/Settings/Logs/LogTable.tsxindex ccfbba689b3..336c50291c5 100644--- a/studio/components/interfaces/Settings/Logs/LogTable.tsx+++ b/studio/components/interfaces/Settings/Logs/LogTable.tsx@@ -63,14 +63,14 @@ const LogTable = ({ isCustomQuery, data = [] }: Props) => {}, {}) as LogMap}, [JSON.stringify(data)])- const strLogMap = JSON.stringify(logMap)+ const strData = JSON.stringify(data)useEffect(() => {if (!isChrono) returnif (isNil(data)) returnif (focusedLog && !(focusedLog.id in logMap)) {setFocusedLog(null)}- }, [strLogMap])+ }, [strData])if (!data) return null@@ -80,7 +80,7 @@ const LogTable = ({ isCustomQuery, data = [] }: Props) => {const logDataRows = useMemo(() => {if (!isChrono) return datareturn Object.values(logMap).sort((a, b) => a.timestamp - b.timestamp)- }, [strLogMap])+ }, [strData])return (<section className="flex flex-1 flex-row" style={{ maxHeight }}><DataGrid