Skip to content

Commit d9e0457

Browse files
committed
chore: remove commented out code
1 parent 8e1e738 commit d9e0457

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

package/src/store/apis/updatePollMessage.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,6 @@ export const updatePollMessage = <
5050
? newLatestAnswers.filter((answer) => answer.id !== poll_vote?.id)
5151
: [poll_vote, ...newLatestAnswers.filter((answer) => answer.id !== poll_vote?.id)];
5252
}
53-
// const newOwnVotes =
54-
// poll_vote && poll_vote.user?.id === userID
55-
// ? [poll_vote, ...own_votes.filter((vote) => vote.id !== poll_vote.id)]
56-
// : own_votes;
57-
// const newLatestAnswers =
58-
// poll_vote && isVoteAnswer(poll_vote)
59-
// ? [poll_vote, ...latest_answers.filter((answer) => answer.id !== poll_vote?.id)]
60-
// : latest_answers;
6153

6254
const storablePoll = mapPollToStorable({
6355
...poll,

0 commit comments

Comments
 (0)