another temp commit

This commit is contained in:
jeffvli
2025-10-14 19:36:36 -07:00
parent 77d635d288
commit 9e24ffd30d
2 changed files with 140 additions and 130 deletions
@@ -45,6 +45,18 @@ const HomeRoute = () => {
const { windowBarStyle } = useWindowSettings();
const { homeFeature, homeItems } = useGeneralSettings();
const itemsPerPage = 10;
const queriesEnabled = useMemo(() => {
return homeItems.reduce(
(previous: Record<HomeItem, boolean>, current) => ({
...previous,
[current.id]: !current.disabled,
}),
{} as Record<HomeItem, boolean>,
);
}, [homeItems]);
const feature = useQuery(
albumQueries.list({
options: {