(channel: EventChannel)
| 117 | }; |
| 118 | |
| 119 | const toggleChannel = (channel: EventChannel) => { |
| 120 | setSelectedChannels((prev) => |
| 121 | prev.includes(channel) ? prev.filter((c) => c !== channel) : [...prev, channel] |
| 122 | ); |
| 123 | }; |
| 124 | |
| 125 | const toggleEventType = (type: string) => { |
| 126 | setSelectedTypes((prev) => |