Skip to content

Commit 2038186

Browse files
committed
Remove obsolete comment
1 parent 7609723 commit 2038186

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/react-dom/src/events/ReactDOMEventListener.js

-2
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,6 @@ export function getEventPriority(domEventName: DOMEventName): * {
438438
// Eventually this mechanism will be replaced by a check
439439
// of the current priority on the native scheduler.
440440
const schedulerPriority = getCurrentPriorityLevel();
441-
// TODO: Inline schedulerPriorityToLanePriority into this file
442-
// when we delete the enableNativeEventPriorityInference flag.
443441
return schedulerPriorityToLanePriority(schedulerPriority);
444442
}
445443
default:

0 commit comments

Comments
 (0)