diff --git a/frontend/src/components/stickies.tsx b/frontend/src/components/stickies.tsx index a48fc91..7a5d3e0 100644 --- a/frontend/src/components/stickies.tsx +++ b/frontend/src/components/stickies.tsx @@ -23,6 +23,9 @@ const Stickies = () => { const stickyMap = buildStickyMap(); + const renderStickies = (items: StickyType[]) => + items.map((sticky) => ); + return (
) : (
- {stickies?.map((sticky) => ( - - ))} + {renderStickies(stickies ?? [])}
)}