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