fixed profile preferences

This commit is contained in:
masongga
2026-05-23 21:32:38 -06:00
parent 4b45ddd182
commit 82097f79ac
7 changed files with 385 additions and 67 deletions

View File

@@ -72,9 +72,7 @@ export function matchesFocusTopics(
entry: HabitCatalogEntry,
preferences: ProfilePreferences,
) {
return entry.focusTopics.some((topic) =>
preferences.focusTopics.includes(topic),
);
return entry.focusTopics.includes(preferences.focusTopic);
}
export function matchesQuizAnswers(