Fixed various build errors

This commit is contained in:
Christopher
2026-01-22 14:00:12 -08:00
parent cc302c73d4
commit 38a6b88e7e
5 changed files with 13 additions and 15 deletions
+3 -3
View File
@@ -1,14 +1,14 @@
'use client';
import { useState } from 'react';
import { useState, useEffect } from 'react';
import Link from 'next/link';
import { HeartIcon, RepeatIcon, MessageIcon, FlagIcon } from '@/components/Icons';
import { Post } from '@/lib/types';
interface PostCardProps {
post: Post;
onLike?: (id: string) => void;
onRepost?: (id: string) => void;
onLike?: (id: string, currentLiked: boolean) => void;
onRepost?: (id: string, currentReposted: boolean) => void;
onComment?: (post: Post) => void;
isDetail?: boolean;
}