diff --git a/packages/react-dom/src/events/ReactDOMEventListener.js b/packages/react-dom/src/events/ReactDOMEventListener.js index 8a9bda86050ca..0869bebe330bb 100644 --- a/packages/react-dom/src/events/ReactDOMEventListener.js +++ b/packages/react-dom/src/events/ReactDOMEventListener.js @@ -438,8 +438,6 @@ export function getEventPriority(domEventName: DOMEventName): * { // Eventually this mechanism will be replaced by a check // of the current priority on the native scheduler. const schedulerPriority = getCurrentPriorityLevel(); - // TODO: Inline schedulerPriorityToLanePriority into this file - // when we delete the enableNativeEventPriorityInference flag. return schedulerPriorityToLanePriority(schedulerPriority); } default: