feat: usernames

also change userId to number
This commit is contained in:
trafficlunar 2025-03-30 17:36:49 +01:00
parent 9344f2f315
commit 9d35d93d9e
15 changed files with 200 additions and 78 deletions

View file

@ -23,7 +23,7 @@ export default function LikeButton({ likes, isLoggedIn }: Props) {
};
return (
<button onClick={onClick} className="flex items-center gap-2 text-xl text-red-400 mt-1 cursor-pointer">
<button onClick={onClick} className="flex items-center gap-2 text-xl text-red-400 cursor-pointer">
<Icon icon={isLiked ? "icon-park-solid:like" : "icon-park-outline:like"} />
<span>{likesState}</span>
</button>