diff --git a/.env.example b/.env.example index f38004ef4..2e1725cf0 100644 --- a/.env.example +++ b/.env.example @@ -10,6 +10,7 @@ DIRECT_URL=${DATABASE_URL} REMIX_APP_PORT=3030 APP_ENV=development APP_ORIGIN=http://localhost:3030 +ELECTRIC_ORIGIN=http://localhost:3060 NODE_ENV=development V3_ENABLED=true diff --git a/apps/webapp/app/components/code/CodeBlock.tsx b/apps/webapp/app/components/code/CodeBlock.tsx index 1d0925a53..62a476024 100644 --- a/apps/webapp/app/components/code/CodeBlock.tsx +++ b/apps/webapp/app/components/code/CodeBlock.tsx @@ -1,7 +1,7 @@ import { Clipboard, ClipboardCheck } from "lucide-react"; import type { Language, PrismTheme } from "prism-react-renderer"; import { Highlight, Prism } from "prism-react-renderer"; -import { forwardRef, useCallback, useState } from "react"; +import { forwardRef, ReactNode, useCallback, useState } from "react"; import { cn } from "~/utils/cn"; import { Paragraph } from "../primitives/Paragraph"; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../primitives/Tooltip"; @@ -385,7 +385,7 @@ function Chrome({ title }: { title?: string }) { ); } -export function TitleRow({ title }: { title: string }) { +export function TitleRow({ title }: { title: ReactNode }) { return (