diff --git a/components/mod-event/EventList.tsx b/components/mod-event/EventList.tsx index 49658c34..fd01eb9f 100644 --- a/components/mod-event/EventList.tsx +++ b/components/mod-event/EventList.tsx @@ -1,6 +1,7 @@ import { EventListState, FIRST_EVENT_TIMESTAMP, + formatDateForInput, ModEventListQueryOptions, useModEventList, } from './useModEventList' @@ -243,12 +244,6 @@ const EventFilterPanel = ({ checked={types.length === allTypes.length} onChange={() => toggleType('all')} className="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600" - onKeyDown={(e) => { - if (e.key === 'Enter') { - e.preventDefault() // make sure we don't submit the form - e.currentTarget.click() // simulate a click on the input - } - }} />