From 1e0df9016c6332a23fc364b0da1c09665fd78597 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Sat, 17 Aug 2024 15:54:19 +0800 Subject: [PATCH] More debugging --- .../components/templates/library/LibraryContainer.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/web/components/templates/library/LibraryContainer.tsx b/packages/web/components/templates/library/LibraryContainer.tsx index 89db8d040..5042f57b3 100644 --- a/packages/web/components/templates/library/LibraryContainer.tsx +++ b/packages/web/components/templates/library/LibraryContainer.tsx @@ -823,7 +823,16 @@ export function LibraryContainer(props: LibraryContainerProps): JSX.Element { } > {libraryItems.map((item) => { - return {item.node.title} + return ( + { + router.push(`${viewerData?.profile.username}/${item.node.slug}`) + }} + > + {item.node.title} + + ) })} )