refactor(frontend): reduce type errors
This commit is contained in:
parent
fa9c4a19b9
commit
2cd32b2248
2 changed files with 6 additions and 3 deletions
|
@ -140,8 +140,8 @@ const profile = reactive({
|
|||
location: $i.location,
|
||||
birthday: $i.birthday,
|
||||
lang: $i.lang,
|
||||
isBot: $i.isBot,
|
||||
isCat: $i.isCat,
|
||||
isBot: $i.isBot ?? false,
|
||||
isCat: $i.isCat ?? false,
|
||||
});
|
||||
|
||||
watch(() => profile, () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue