mirror of
https://github.com/beilunyang/moemail.git
synced 2025-12-24 11:30:51 +08:00
fix: ts type
This commit is contained in:
@@ -241,7 +241,7 @@ export function EmailList({ onEmailSelect, selectedEmailId }: EmailListProps) {
|
||||
<AlertDialogHeader>
|
||||
<AlertDialogTitle>{t("deleteConfirm")}</AlertDialogTitle>
|
||||
<AlertDialogDescription>
|
||||
{t("deleteDescription", { email: emailToDelete?.address })}
|
||||
{t("deleteDescription", { email: emailToDelete?.address || "" })}
|
||||
</AlertDialogDescription>
|
||||
</AlertDialogHeader>
|
||||
<AlertDialogFooter>
|
||||
|
||||
@@ -283,7 +283,7 @@ export function MessageList({ email, messageType, onMessageSelect, selectedMessa
|
||||
<AlertDialogHeader>
|
||||
<AlertDialogTitle>{tList("deleteConfirm")}</AlertDialogTitle>
|
||||
<AlertDialogDescription>
|
||||
{tList("deleteDescription", { email: messageToDelete?.subject })}
|
||||
{tList("deleteDescription", { email: messageToDelete?.subject || "" })}
|
||||
</AlertDialogDescription>
|
||||
</AlertDialogHeader>
|
||||
<AlertDialogFooter>
|
||||
|
||||
Reference in New Issue
Block a user