ReviewDB: Fix context menus being added to folders (#2416)

This commit is contained in:
Fafa 2024-05-05 06:42:15 +02:00 committed by Nuckyz
parent a090872d8f
commit 45c1e42ce4
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -36,6 +36,7 @@ import { settings } from "./settings";
import { showToast } from "./utils";
const guildPopoutPatch: NavContextMenuPatchCallback = (children, { guild }: { guild: Guild, onClose(): void; }) => {
if (!guild) return;
children.push(
<Menu.MenuItem
label="View Reviews"