diff --git a/packages/react/src/utils.js b/packages/react/src/utils.js index 5e6260730e..96d0928afc 100644 --- a/packages/react/src/utils.js +++ b/packages/react/src/utils.js @@ -1,4 +1,4 @@ // @flow export let isBrowser = typeof document !== 'undefined' -export const hasOwn = Object.hasOwn +export const hasOwn = Object.prototype.hasOwnProperty.call