This commit is contained in:
sarendsen
2025-01-14 09:24:31 +01:00
parent e1fe20db86
commit a24b126539
2 changed files with 9 additions and 1 deletions

View File

@@ -205,7 +205,7 @@ export default function index() {
);
let sections: Section[] = [];
if (settings?.home === null || settings?.home?.sections === null) {
if (!settings?.home || !settings?.home?.sections) {
sections = useMemo(() => {
if (!api || !user?.Id) return [];