File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
packages/core/primitives/event-dispatch/src Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,10 @@ const PREVENT_DEFAULT_ERROR_MESSAGE_DETAILS =
3030 'effect. You can check whether an event is being replayed by accessing the event phase: ' +
3131 '`event.eventPhase === EventPhase.REPLAY`.' ;
3232const PREVENT_DEFAULT_ERROR_MESSAGE = `\`preventDefault\` called during event replay.` ;
33- const COMPOSED_PATH_ERROR_MESSAGE_DETAILS = ( ) =>
34- ngDevMode
35- ? ' Because event replay occurs after browser ' +
36- 'dispatch, `composedPath()` will be empty. Iterate parent nodes from `event.target` or ' +
37- '`event.currentTarget` if you need to check elements in the event path.'
38- : '' ;
33+ const COMPOSED_PATH_ERROR_MESSAGE_DETAILS =
34+ ' Because event replay occurs after browser ' +
35+ 'dispatch, `composedPath()` will be empty. Iterate parent nodes from `event.target` or ' +
36+ '`event.currentTarget` if you need to check elements in the event path.' ;
3937const COMPOSED_PATH_ERROR_MESSAGE = `\`composedPath\` called during event replay.` ;
4038
4139declare global {
You can’t perform that action at this time.
0 commit comments