Parcourir la source

Remove unneccessary cruft of changing this and that on logout - next commit will just redirect user to homepage

sbkwgh il y a 8 ans
Parent
commit
0c626412e7
1 fichiers modifiés avec 0 ajouts et 7 suppressions
  1. 0 7
      src/components/HeartButton.vue

+ 0 - 7
src/components/HeartButton.vue

@@ -84,13 +84,6 @@
 						})
 				}
 			}
-		},
-		watch: {
-			//TODO: fix this subtle bug
-			'$store.state.username': function() {
-				this._liked = false
-				this.$forceUpdate()
-			}
 		}
 	}
 </script>