Skip to content

Commit 95a6b05

Browse files
Fixed function prop wanring (#35)
1 parent c398662 commit 95a6b05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-ld",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"description": "A Vue.js wrapper for the LaunchDarkly SDK for Browser JavaScript",
55
"main": "dist/index.cjs.js",
66
"module": "dist/index.es.js",

src/components/LDRouteGuard.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import ldRedirectMixin from '../mixins/ldRedirect';
88
export default {
99
mixins: [ldRedirectMixin()],
1010
props: {
11-
component: { type: [Object, Promise], required: true },
11+
component: { type: [Function, Object, Promise], required: true },
1212
requiredFeatureFlag: { type: String, required: true },
1313
to: { type: [String, Object], required: true },
1414
},

0 commit comments

Comments
 (0)