We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b8f5ea2 + e9815fd commit 55f83fbCopy full SHA for 55f83fb
app/src/app/x/history.tsx
@@ -1,5 +1,5 @@
1
import Image from 'next/image'
2
-import { formatDistanceToNow, fromUnixTime } from 'date-fns'
+// import { formatDistanceToNow, fromUnixTime } from 'date-fns'
3
import { cn } from '@/lib/utils'
4
import { kv } from '@vercel/kv'
5
import { Suspense } from 'react'
@@ -79,7 +79,7 @@ const History = async () => {
79
</div>
80
81
<div>
82
- {truncate(tweetText)
+ {truncate(tweetText).toString()
83
.split('\n')
84
.map((t, i) => (
85
<p key={i} className="min-h-[16px] leading-4">
0 commit comments