fix: hopefully stop server from making requests
This commit is contained in:
1 parent
1e784b0767
commit
66fc0dfe67
1 file changed
+6
-4
+6
-4
@@ -131,10 +131,12 @@ export let profile = derived<Writable<ProfileData>, Profile>(
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
site.set(undefined)
|
if (browser) {
|
||||||
client({ instanceURL: profile.instance })
|
site.set(undefined)
|
||||||
.getSite()
|
client({ instanceURL: profile.instance })
|
||||||
.then((res) => site.set(res))
|
.getSite()
|
||||||
|
.then((res) => site.set(res))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
instance.set(profile.instance)
|
instance.set(profile.instance)
|
||||||
|
|||||||
Reference in new issue
Block a user