detect-fix

This commit is contained in:
Untone 2024-01-31 18:46:34 +03:00
parent c234ab1c2b
commit 8caa4f823a

View File

@ -82,12 +82,8 @@ export const FollowingProvider = (props: { children: JSX.Element }) => {
createEffect(() => { createEffect(() => {
if (author()) { if (author()) {
console.debug('[context.following] author detect') console.debug('[context.following] author update detect')
if (!subscriptions?.authors?.length && !subscriptions?.topics?.length) { fetchData()
// && subscriptions.communites?.length
console.debug('[context.following] no subs detected')
fetchData()
}
} }
}) })