diff --git a/src/components/BlockListPanel.tsx b/src/components/BlockListPanel.tsx index 91d64da..573655c 100644 --- a/src/components/BlockListPanel.tsx +++ b/src/components/BlockListPanel.tsx @@ -27,7 +27,7 @@ export default function BlockListPanel({ if (!q) return blocks; return blocks.filter( (b) => - b.username.toLowerCase().includes(q) || + (b.username || '').toLowerCase().includes(q) || (b.display_name || '').toLowerCase().includes(q) ); }, [blocks, search]);