fix(ui): avoid list mode checks in masonry branch

This commit is contained in:
Local Admin 2026-01-26 15:14:41 +00:00
parent e14f88232a
commit 2b78dc1dc7
1 changed files with 2 additions and 2 deletions

View File

@ -235,11 +235,11 @@ const PagedMemoList = (props: Props) => {
memoList={isPinnedCollapsed ? [] : pinnedMemos}
renderer={props.renderer}
prefixElement={prefixElement}
listMode={layout === "LIST"}
listMode={false}
/>
{hasPinned && !isPinnedCollapsed && <div className="w-full max-w-2xl mx-auto my-2 h-px bg-border/60" aria-hidden="true" />}
<div className={hasPinned ? "mt-2" : ""}>
<MasonryView memoList={unpinnedMemos} renderer={props.renderer} listMode={layout === "LIST"} />
<MasonryView memoList={unpinnedMemos} renderer={props.renderer} listMode={false} />
</div>
</>
);