load-topics-fix

This commit is contained in:
Untone 2024-01-22 22:39:39 +03:00
parent e974e43c22
commit e796fa30a4

View File

@ -41,7 +41,9 @@ export const PublishSettings = (props: Props) => {
const { sortedTopics } = useTopicsStore() const { sortedTopics } = useTopicsStore()
createEffect(async () => { createEffect(async () => {
if (!sortedTopics()) await loadAllTopics() if (sortedTopics()?.length < 33) {
await loadAllTopics()
}
}) })
const composeDescription = () => { const composeDescription = () => {