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 GitHub
parent bc68bc0312
commit b98544ed1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"