Skip to content

Commit 75f8e84

Browse files
committed
chore: build
1 parent 7d575c2 commit 75f8e84

File tree

1 file changed

+1
-3
lines changed
  • packages/react/src/components/react-component-lib/utils

1 file changed

+1
-3
lines changed

packages/react/src/components/react-component-lib/utils/dev.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { printIonWarning } from '@ionic/core';
2-
31
export const isDevMode = () => {
42
return process && process.env && process.env.NODE_ENV === 'development';
53
};
@@ -9,7 +7,7 @@ const warnings: { [key: string]: boolean } = {};
97
export const deprecationWarning = (key: string, message: string) => {
108
if (isDevMode()) {
119
if (!warnings[key]) {
12-
printIonWarning(message);
10+
console.warn(message);
1311
warnings[key] = true;
1412
}
1513
}

0 commit comments

Comments
 (0)