fix stupid AI bullshit fuckery

This commit is contained in:
john 2025-08-10 18:45:54 +02:00
parent a0c450384d
commit 964ba05724

View file

@ -1,5 +1,4 @@
import { PostReaction } from '../posts/posts.ts'
import { Temporal } from '@js-temporal/polyfill'
interface PostTimelineProps {
reactions: PostReaction[]
@ -11,7 +10,7 @@ export function PostTimeline({ reactions }: PostTimelineProps) {
{reactions.map((reaction) => (
<div className={`flex flex-col`}>
<div className={`text-gray-400 text-xs -mb-1`}>
{Temporal.Now.instant().toLocaleString('en-AU', {
{reaction.reactedOn.toLocaleString('en-AU', {
year: 'numeric',
month: 'numeric',
day: 'numeric',