Skip to content

Commit 01f6e3d

Browse files
committed
chore(utils): Added better dev display names for UserInteractionMode context parts
1 parent 6e4a06d commit 01f6e3d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/utils/src/mode/UserInteractionModeListener.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ export const InteractionModeListener = UserInteractionModeListener;
9595

9696
/* istanbul ignore next */
9797
if (process.env.NODE_ENV !== "production") {
98+
modeContext.displayName = "UserInteractionMode";
99+
parentContext.displayName = "MultiUserInteractionMode";
100+
98101
try {
99102
const PropTypes = require("prop-types");
100103

0 commit comments

Comments
 (0)