demo/src/ballots.tsx
Function BallotsComp
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const BallotsComp = () => {
const groupedBallots = useStore(selectBallots)
const totalW = totalWeight(groupedBallots)
const addRandomBallot = useStore(selectAddRandomBallot)