Skip to content

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

remove old code

Jonathan Summers-Muire71293d04f71
diff --git a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultSelectionRenderer.tsx b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultSelectionRenderer.tsx
index 89dfa3884cc..b112b8e5c68 100644
--- a/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultSelectionRenderer.tsx
+++ b/studio/components/interfaces/Settings/Logs/LogSelectionRenderers/DefaultSelectionRenderer.tsx
@@ -1,4 +1,3 @@
-import Table from 'components/to-be-cleaned/Table'
import { LOGS_TAILWIND_CLASSES } from '../Logs.constants'
import { jsonSyntaxHighlight } from '../LogsFormatters'
@@ -47,35 +46,6 @@ const DefaultSelectionRenderer = ({ log }: any) => {
return (
<div className="overflow-hidden overflow-x-auto space-y-6">
- {/* <Table
- className={`bg-scale-300 ${LOGS_TAILWIND_CLASSES.log_selection_x_padding}`}
- body={
- <>
- {Object.entries(log).map(([key, value]) => (
- <Table.tr key={key} className="!bg-scale-300">
- <Table.th className="flex pt-4 text-sm font-normal font-sans text-scale-1100">
- {key}
- </Table.th>
- <Table.td className="">
- <pre className="text-xs p-2">
- {value && typeof value === 'object' ? (
- <div
- dangerouslySetInnerHTML={{
- __html: jsonSyntaxHighlight(value),
- }}
- />
- ) : (
- <span className="text-sm text-scale-1200 font-sans font-normal">
- {String(value)}
- </span>
- )}
- </pre>
- </Table.td>
- </Table.tr>
- ))}
- </>
- }
- /> */}
{Object.entries(log).map(([key, value]) => {
return (
<div className={`${LOGS_TAILWIND_CLASSES.log_selection_x_padding}`}>