fix(email): usa TicketCardLegacy no automation-email
All checks were successful
All checks were successful
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:
parent
034f6f47ff
commit
b5ff8034d2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue