BetterSettings: Fix Crashing
This commit is contained in:
parent
49cc5c0bf7
commit
44a45c7b72
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue