Skip to content

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

Opt to use Code2 icon instead of BookHeart for unified logs postgrest rows (#45916)

Joshen Lim1b3a88a32352
diff --git a/apps/studio/components/interfaces/UnifiedLogs/components/LogTypeIcon.tsx b/apps/studio/components/interfaces/UnifiedLogs/components/LogTypeIcon.tsx
index 85656026c98..298a048b7f8 100644
--- a/apps/studio/components/interfaces/UnifiedLogs/components/LogTypeIcon.tsx
+++ b/apps/studio/components/interfaces/UnifiedLogs/components/LogTypeIcon.tsx
@@ -1,5 +1,5 @@
import { Auth, EdgeFunctions, Storage } from 'icons'
-import { BookHeart, Box, Database } from 'lucide-react'
+import { Box, Code2, Database } from 'lucide-react'
import { cn, Tooltip, TooltipContent, TooltipTrigger } from 'ui'
import { type LOG_TYPES } from '../UnifiedLogs.constants'
@@ -20,7 +20,7 @@ export const LogTypeIcon = ({
// [Alaister]: commented out types coming in the future
const iconMap: Record<(typeof LOG_TYPES)[number], () => React.ReactNode> = {
// edge: () => <Globe size={size} strokeWidth={strokeWidth} className={className} />,
- postgrest: () => <BookHeart size={size} strokeWidth={strokeWidth} className={className} />,
+ postgrest: () => <Code2 size={size} strokeWidth={strokeWidth} className={className} />,
auth: () => <Auth size={size} strokeWidth={strokeWidth} className={className} />,
'edge function': () => (
<EdgeFunctions size={size} strokeWidth={strokeWidth} className={className} />