From df489dc9cb30e2f0d95639848f116048aff398f5 Mon Sep 17 00:00:00 2001 From: ap-justin <89639563+ap-justin@users.noreply.github.com> Date: Tue, 3 Sep 2024 19:36:53 +0800 Subject: [PATCH] remove unused --- src/components/BookmarkBtn.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/BookmarkBtn.tsx b/src/components/BookmarkBtn.tsx index 9c744e1405..92fbde16dd 100644 --- a/src/components/BookmarkBtn.tsx +++ b/src/components/BookmarkBtn.tsx @@ -14,11 +14,7 @@ type Props = PropsWithChildren< Pick & { classes?: string } >; -export default function BookmarkBtn({ - endowId, - children, - classes = "", -}: Props) { +export default function BookmarkBtn({ endowId, classes = "" }: Props) { const { user } = useGetter((state) => state.auth); const userEmail = userIsSignedIn(user) ? user.email : ""; const ref = useRef(null);