debug-detect
This commit is contained in:
parent
2103db3ebd
commit
c234ab1c2b
|
@ -81,10 +81,13 @@ export const FollowingProvider = (props: { children: JSX.Element }) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
createEffect(() => {
|
createEffect(() => {
|
||||||
if (author() && !subscriptions?.authors?.length && !subscriptions?.topics?.length) {
|
if (author()) {
|
||||||
// && subscriptions.communites?.length
|
console.debug('[context.following] author detect')
|
||||||
console.debug('[context.following] author with no subs detected')
|
if (!subscriptions?.authors?.length && !subscriptions?.topics?.length) {
|
||||||
fetchData()
|
// && subscriptions.communites?.length
|
||||||
|
console.debug('[context.following] no subs detected')
|
||||||
|
fetchData()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user