Skip to content

Commit

Permalink
Minor performance improvements to the Hashtag view (#5927)
Browse files Browse the repository at this point in the history
  • Loading branch information
absidue authored Oct 24, 2024
1 parent 4ebd373 commit f6e7344
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/renderer/views/Hashtag/Hashtag.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,12 @@ export default defineComponent({
},
},
watch: {
$route() {
'$route.params.hashtag'() {
this.resetData()
this.getHashtag()
}
},
mounted: function() {
this.resetData()
this.getHashtag()
},
methods: {
Expand Down

0 comments on commit f6e7344

Please sign in to comment.