Skip to content

Commit

Permalink
fixup! フロントエンドにリアクション機能を実装
Browse files Browse the repository at this point in the history
  • Loading branch information
MurakawaTakuya committed Jan 12, 2025
1 parent e55364f commit 59a2134
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Components/Progress/Reaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export const Reaction = ({
reactionList[reactionType].count += 1;
if (user?.userId === userId) {
setIsReacted(reactionType);
setIsOnceClicked(true);
}
});
}
Expand Down Expand Up @@ -153,7 +154,7 @@ export const Reaction = ({
: !user?.isMailVerified
? "メール認証してリアクションしよう!"
: resultType === "success"
? "お祝いしよう!"
? "Nice!"
: "応援しよう!"
}
slots={{
Expand Down

0 comments on commit 59a2134

Please sign in to comment.