BetterSettings: Fix Crashing

This commit is contained in:
thororen1234 2026-05-23 21:28:50 -04:00
parent 49cc5c0bf7
commit 44a45c7b72
No known key found for this signature in database

View file

@ -203,8 +203,8 @@ export default definePlugin({
let logout: ReactNode = null; let logout: ReactNode = null;
for (const item of flat) { for (const item of flat) {
if (!item?.props) continue;
const { key, props } = item; const { key, props } = item;
if (!props) continue;
if (key === "equicord_plugins" || key === "equicord_themes") { if (key === "equicord_plugins" || key === "equicord_themes") {
const children = key === "equicord_plugins" const children = key === "equicord_plugins"