🐛 fix: Fixed the issue where the message receiving date is undefined in some cases
This commit is contained in:
parent
e7b568b752
commit
03f5b92c01
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ export default function FileExtra({ file, rowHeight }: FileExtraProps) {
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
<TooltipContent>
|
<TooltipContent>
|
||||||
<div className="max-w-80 text-wrap rounded p-2">
|
<div className="max-w-80 text-wrap rounded p-2">
|
||||||
{`Message received at ${file.formatDate}`}
|
{`Message received at ${new Date(file.date * 1000).toLocaleString()}`}
|
||||||
</div>
|
</div>
|
||||||
</TooltipContent>
|
</TooltipContent>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue