- remove unnecessary / deprecated code

This commit is contained in:
2026-05-06 19:34:13 +02:00
parent 5ecb5f1076
commit 424799692a
4 changed files with 9 additions and 138 deletions

View File

@@ -9,7 +9,6 @@ export function PollList(
userId: string,
isVotingClosed: () => boolean,
onVote: (optionId: string) => void,
onDelete: (optionId: string) => void,
): HTMLElement {
var currentOptions : { [x: string]: any; } | undefined = undefined
@@ -112,7 +111,6 @@ export function PollList(
totalVotes: total,
votingClosed,
onVote,
onDelete,
});
const currentEl = list.children[i] as HTMLElement | undefined;