Skip to content

Commit b27a568

Browse files
razornessapertureless
authored andcommitted
fix: Change default user_input prop value to factory function (#44)
props with object/array as default must have factory functions
1 parent a1fcafe commit b27a568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/PasswordStrengthMeter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256
*/
257257
userInputs: {
258258
type: Array,
259-
default: []
259+
default: () => []
260260
}
261261
},
262262
data () {

0 commit comments

Comments
 (0)