Explorar o código

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

sbkwgh %!s(int64=8) %!d(string=hai) anos
pai
achega
0c626412e7
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  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>