Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore(utils): Added better dev display names for UserInteractionMode …
…context parts
  • Loading branch information
mlaursen committed Feb 13, 2021
1 parent 6e4a06d commit 01f6e3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/utils/src/mode/UserInteractionModeListener.tsx
Expand Up @@ -95,6 +95,9 @@ export const InteractionModeListener = UserInteractionModeListener;

/* istanbul ignore next */
if (process.env.NODE_ENV !== "production") {
modeContext.displayName = "UserInteractionMode";
parentContext.displayName = "MultiUserInteractionMode";

try {
const PropTypes = require("prop-types");

Expand Down

0 comments on commit 01f6e3d

Please sign in to comment.