Skip to content

Commit f91deeb

Browse files
committed
fix
1 parent 81e5ad0 commit f91deeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const BoardPost: React.FC<BoardPostProps> = ({ post, setSelectedPost }) => {
116116
)}
117117
<div className="text-cyan-200">
118118
Created at{" "}
119-
{formatDistanceToNow(parseISO(post.createdAt.toString()), {
119+
{formatDistanceToNow(parseISO(post.createdAt as any as string), {
120120
addSuffix: true,
121121
})}
122122
</div>

0 commit comments

Comments
 (0)