MCPcopy
hub / github.com/Peppermint-Lab/peppermint / handleStatusToggle

Function handleStatusToggle

apps/client/pages/issues/index.tsx:117–123  ·  view source on GitHub ↗
(status: string)

Source from the content-addressed store, hash-verified

115 };
116
117 const handleStatusToggle = (status: string) => {
118 setSelectedStatuses((prev) =>
119 prev.includes(status)
120 ? prev.filter((s) => s !== status)
121 : [...prev, status]
122 );
123 };
124
125 const handleAssigneeToggle = (assignee: string) => {
126 setSelectedAssignees((prev) =>

Callers 1

TicketsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected