fix vue warnings and errors

This commit is contained in:
Shpuld Shpuldson 2020-09-08 10:44:08 +03:00
parent da63894072
commit 8975589bca
3 changed files with 22 additions and 17 deletions

View file

@ -39,13 +39,16 @@
export default {
props: {
large: {
required: false
required: false,
type: Boolean,
default: false
},
// TODO: Make theme switcher compute theme initially so that contrast
// component won't be called without contrast data
contrast: {
required: false,
type: Object
type: Object,
default: () => ({})
}
},
computed: {