mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 05:12:57 -05:00
Fix follows not working when nobody is already followed
This commit is contained in:
parent
55af083c85
commit
34f9320889
1 changed files with 1 additions and 2 deletions
|
@ -18,8 +18,7 @@ export default {
|
|||
methods: {
|
||||
followStreamer() {
|
||||
const username = this.$props.username
|
||||
const follows = localStorage.getItem('following')
|
||||
if (!follows) return
|
||||
const follows = localStorage.getItem('following') || "[]"
|
||||
|
||||
let parsedFollows: string[] = JSON.parse(follows)
|
||||
|
||||
|
|
Loading…
Reference in a new issue