Remove: redundant defaults

This commit is contained in:
Raphael Beer 2020-04-01 09:40:07 +02:00
parent 8e985703bd
commit 9dd65aa6d5
No known key found for this signature in database
GPG Key ID: C1AC5E018B25EF11

View File

@ -270,6 +270,7 @@ export default {
mode: 'out-in',
},
data() {
console.log('component data()')
const filter = tabToFilterMapping({ tab: 'post', id: this.$route.params.id })
return {
User: [],
@ -461,8 +462,8 @@ export default {
variables() {
return {
id: this.$route.params.id,
followedByCount: this.followedByCount || 7,
followingCount: this.followingCount || 7,
followedByCount: this.followedByCount,
followingCount: this.followingCount
}
},
fetchPolicy: 'cache-and-network',