The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
remove syntax highlighting
TzeYiing0b3fd1e2bc76
diff --git a/studio/components/interfaces/Settings/Logs/LogTable.tsx b/studio/components/interfaces/Settings/Logs/LogTable.tsxindex bc6f86a2303..550cda2d8b0 100644--- a/studio/components/interfaces/Settings/Logs/LogTable.tsx+++ b/studio/components/interfaces/Settings/Logs/LogTable.tsx@@ -9,14 +9,12 @@ import {SeverityFormatter,ResponseCodeFormatter,HeaderFormmater,- jsonSyntaxHighlight,} from './LogsFormatters'// column rendersimport DatabaseApiColumnRender from './LogColumnRenderers/DatabaseApiColumnRender'import DatabasePostgresColumnRender from './LogColumnRenderers/DatabasePostgresColumnRender'import CSVButton from 'components/ui/CSVButton'-import { copyToClipboard } from 'lib/helpers'interface Props {data?: Array<LogData | Object>@@ -317,34 +315,16 @@ const LogTable = ({withIconclassName="w-1/2">- {typeof error === 'string' && (- <Input.TextArea- size="small"- value={error}- borderless- className="font-mono w-full mt-4"- copy- rows={12}- />- )}- {typeof error === 'object' && (- <>- <pre- className="font-mono w-full mt-4 bg-red-300 rounded p-2"- dangerouslySetInnerHTML={{- __html: jsonSyntaxHighlight(error),- }}- />-- <Button- onClick={() => copyToClipboard(JSON.stringify(error, null, 2))}- type="default"- className="mt-2"- >- Copy- </Button>- </>- )}+ <Input.TextArea+ size="small"+ value={+ typeof error === 'string' ? error : JSON.stringify(error, null, 2)+ }+ borderless+ className="font-mono w-full mt-4 text-xs"+ copy+ rows={12}+ /></Alert></div>)}