diff --git a/src/utils/props.js b/src/utils/props.js index 62eaa6b1337..26f15df833a 100644 --- a/src/utils/props.js +++ b/src/utils/props.js @@ -94,4 +94,5 @@ const configurablePropDefaultFnName = makePropConfigurable({}, '', '').default.n // Detect wether the given value is currently a function // and isn't the props default function -export const hasPropFunction = fn => isFunction(fn) && fn.name !== configurablePropDefaultFnName +export const hasPropFunction = fn => + isFunction(fn) && fn.name && fn.name !== configurablePropDefaultFnName pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy