From b5ff8034d260fd742a70ea4c092622e2dc113213 Mon Sep 17 00:00:00 2001 From: rever-tecnologia Date: Wed, 17 Dec 2025 14:00:20 -0300 Subject: [PATCH] fix(email): usa TicketCardLegacy no automation-email MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Corrige erro de TypeScript ao usar o componente legado que aceita o formato { ticket: TicketCardData } 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- emails/automation-email.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emails/automation-email.tsx b/emails/automation-email.tsx index ebc900c..2555f3c 100644 --- a/emails/automation-email.tsx +++ b/emails/automation-email.tsx @@ -3,7 +3,7 @@ import { Button, Heading, Hr, Section, Text } from "@react-email/components" import { RavenEmailLayout } from "./_components/layout" import { EMAIL_COLORS } from "./_components/tokens" -import { TicketCard, type TicketCardData } from "./_components/ticket-card" +import { TicketCardLegacy, type TicketCardData } from "./_components/ticket-card" import { normalizeTextToParagraphs } from "./_components/utils" export type AutomationEmailProps = { @@ -37,7 +37,7 @@ export default function AutomationEmail(props: AutomationEmailProps) { )} - +