@refinedev/core 4.26.1 → 4.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinedev/core",
3
- "version": "4.26.1",
3
+ "version": "4.26.2",
4
4
  "description": "refine is a React-based framework for building internal tools, rapidly. It ships with Ant Design System, an enterprise-level UI toolkit.",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -282,7 +282,10 @@ export const Refine: React.FC<RefineProps> = ({
282
282
  : {};
283
283
  /** */
284
284
 
285
- if (process?.env?.NODE_ENV === "development") {
285
+ if (
286
+ typeof window !== "undefined" &&
287
+ window?.location?.hostname === "localhost"
288
+ ) {
286
289
  warnOnce(
287
290
  true,
288
291
  `%c