Skip to content

Commit

Permalink
feedback rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
PopDaph committed Oct 3, 2023
1 parent 84db179 commit f7c3ca5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function ConversationMessage({
void loadEmojiData();
}, []);

const handleSelectEmoji = async ({
const handleEmoji = async ({
emoji,
isToRemove,
}: {
Expand Down Expand Up @@ -114,7 +114,7 @@ export function ConversationMessage({
<a
className="cursor-pointer"
onClick={async () => {
await handleSelectEmoji({
await handleEmoji({
emoji: reaction.emoji,
isToRemove: hasReacted,
});
Expand Down Expand Up @@ -174,7 +174,7 @@ export function ConversationMessage({
reaction.users.find((u) => u.userId === user.id) !==
undefined) ||
false;
await handleSelectEmoji({
await handleEmoji({
emoji: emojiData.id,
isToRemove: hasReacted,
});
Expand Down

0 comments on commit f7c3ca5

Please sign in to comment.