8000 Merge branch 'dev' into feat-form-tags-add-feedback-aria-live-prop · bootstrap-vue/bootstrap-vue@59f8e2c · GitHub
[go: up one dir, main page]

Skip to content

Commit 59f8e2c

Browse files
authored
Merge branch 'dev' into feat-form-tags-add-feedback-aria-live-prop
2 parents 1b9574a + a79d98a commit 59f8e2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/props.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,5 @@ const configurablePropDefaultFnName = makePropConfigurable({}, '', '').default.n
9494

9595
// Detect wether the given value is currently a function
9696
// and isn't the props default function
97-
export const hasPropFunction = fn => isFunction(fn) && fn.name !== configurablePropDefaultFnName
97+
export const hasPropFunction = fn =>
98+
isFunction(fn) && fn.name && fn.name !== configurablePropDefaultFnName

0 commit comments

Comments
 (0)
0