Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-justin committed Sep 3, 2024
1 parent 8b099f2 commit df489dc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/BookmarkBtn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ type Props = PropsWithChildren<
Pick<EndowmentBookmark, "endowId"> & { 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<HTMLButtonElement>(null);
Expand Down

0 comments on commit df489dc

Please sign in to comment.