fix: handle type errors in build

This commit is contained in:
ramvignesh-b
2026-04-22 15:13:07 +05:30
parent 50bae8d2ce
commit b9d1880951
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ export default function Drawer() {
id={letter.public_id}
preview={letter.metadata?.recipient || "Future Self"}
timestamp={formatRelativeDate(letter.updated_at)}
unlock_at={formateRelativeDateWithoutTime(letter.unlock_at)}
unlock_at={formateRelativeDateWithoutTime(letter.unlock_at || "")}
isLocked={letter.unlock_at > new Date().toISOString()}
/>
))}