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