Skip to content

Commit

Permalink
fix: Change default user_input prop value to factory function (#44)
Browse files Browse the repository at this point in the history
props with object/array as default must have factory functions
  • Loading branch information
razorness authored and apertureless committed Nov 6, 2019
1 parent a1fcafe commit b27a568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PasswordStrengthMeter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
*/
userInputs: {
type: Array,
default: []
default: () => []
}
},
data () {
Expand Down

0 comments on commit b27a568

Please sign in to comment.