We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d575c2 commit 75f8e84Copy full SHA for 75f8e84
packages/react/src/components/react-component-lib/utils/dev.ts
@@ -1,5 +1,3 @@
1
-import { printIonWarning } from '@ionic/core';
2
-
3
export const isDevMode = () => {
4
return process && process.env && process.env.NODE_ENV === 'development';
5
};
@@ -9,7 +7,7 @@ const warnings: { [key: string]: boolean } = {};
9
7
export const deprecationWarning = (key: string, message: string) => {
10
8
if (isDevMode()) {
11
if (!warnings[key]) {
12
- printIonWarning(message);
+ console.warn(message);
13
warnings[key] = true;
14
}
15
0 commit comments