forked from quic-issues/427e7578-d7bf-49c8-aee9-2dd999e25316
- remove unnecessary / deprecated code
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user