make sure that user timelines are empty when opening profile page

fix-hmr
taehoon 5 years ago
parent 0e9b8be88c
commit b70c2bfef7

@ -31,6 +31,8 @@ const UserProfile = {
}
},
created () {
// Make sure that timelines used in this page are empty
this.cleanUp()
const routeParams = this.$route.params
this.load(routeParams.name || routeParams.id)
},

Loading…
Cancel
Save