We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 912ce9e + 3484d8e commit c5f9d01Copy full SHA for c5f9d01
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