Skip to content
This repository was archived by the owner on Aug 3, 2019. It is now read-only.

Commit 0f55dd9

Browse files
fix: Invalid default value for prop "options": Props with type Object/Array must use a factory function to return the default value.
1 parent e968eaf commit 0f55dd9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/OverlayScrollbars.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ export default {
1212
props: {
1313
options: {
1414
type: Object,
15-
default: {}
15+
default() {
16+
return {};
17+
}
1618
},
1719
},
1820

0 commit comments

Comments
 (0)