fix(email): usa TicketCardLegacy no automation-email
All checks were successful
CI/CD Web + Desktop / Detect changes (push) Successful in 5s
CI/CD Web + Desktop / Deploy (VPS Linux) (push) Successful in 4m5s
CI/CD Web + Desktop / Deploy Convex functions (push) Has been skipped
Quality Checks / Lint, Test and Build (push) Successful in 4m16s

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 <noreply@anthropic.com>
This commit is contained in:
rever-tecnologia 2025-12-17 14:00:20 -03:00
parent 034f6f47ff
commit b5ff8034d2

View file

@ -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) {
</Text>
)}
<TicketCard ticket={props.ticket} />
<TicketCardLegacy ticket={props.ticket} />
<Section style={{ marginTop: "18px" }}>
<Button