We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32d5b25 commit 869a31cCopy full SHA for 869a31c
1 file changed
TechStacks.Client/src/components/posts/PostsList.tsx
@@ -124,7 +124,7 @@ export function PostsList({ posts }: PostsListProps) {
124
<div className="flex gap-4">
125
{/* Voting */}
126
<div className="flex flex-col items-center space-y-1 text-gray-500">
127
- <button
+ <button type="button"
128
onClick={(e) => handleVote(postId, 1, e)}
129
className={`text-2xl transition-colors ${
130
isUpVoted
@@ -136,7 +136,7 @@ export function PostsList({ posts }: PostsListProps) {
136
▲
137
</button>
138
<span className="font-semibold text-xl">{displayPoints}</span>
139
140
onClick={(e) => handleVote(postId, -1, e)}
141
142
isDownVoted
0 commit comments