From 4eede5e76a72c3202c9b7abcdc0c56b093209162 Mon Sep 17 00:00:00 2001 From: nyne Date: Thu, 31 Jul 2025 16:29:50 +0800 Subject: [PATCH] hide the create collection button if the user is visiting another user's page. --- frontend/src/pages/user_page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/user_page.tsx b/frontend/src/pages/user_page.tsx index 55609ea..1a1feb4 100644 --- a/frontend/src/pages/user_page.tsx +++ b/frontend/src/pages/user_page.tsx @@ -412,7 +412,7 @@ function Collections({ username }: { username?: string }) { onChange={(e) => delayedSetSearchKeyword(e.target.value)} /> - + }