Skip to content

Commit

Permalink
ReviewDB: fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Sqaaakoi committed May 4, 2024
1 parent 9a40220 commit 4dc11ab
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/plugins/reviewDB/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,6 @@ const userContextPatch: NavContextMenuPatchCallback = (children, { user }: { use
);
};

const userContextPatch: NavContextMenuPatchCallback = (children, props: { user?: User, onClose(): void; }) => {
if (!props.user) return;
children.push(
<Menu.MenuItem
label="View Reviews"
id="vc-rdb-user-reviews"
icon={OpenExternalIcon}
action={() => openReviewsModal(props.user!.id, props.user!.username)}
/>
);
};

export default definePlugin({
name: "ReviewDB",
description: "Review other users (Adds a new settings to profiles)",
Expand Down

0 comments on commit 4dc11ab

Please sign in to comment.