We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 912ce9e commit 3484d8eCopy full SHA for 3484d8e
1 file changed
src/wizardContext.ts
@@ -3,6 +3,9 @@ import * as React from 'react';
3
import { WizardValues } from './types';
4
5
const WizardContext = React.createContext<WizardValues | null>(null);
6
-WizardContext.displayName = 'WizardContext';
+
7
+if (__DEV__) {
8
+ WizardContext.displayName = 'WizardContext';
9
+}
10
11
export default WizardContext;
0 commit comments