Skip to content

Commit

Permalink
add missing check
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse committed Dec 5, 2023
1 parent 678ea14 commit a4ed44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/routes/Servers/Detailed/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export function Results(props: Views): React.ReactElement {

const { t, i18n } = useTranslation();
const modCategories: { [id: string]: ModListReturn[] } = {};
stats?.modList.forEach((item) => {
stats?.modList?.forEach((item) => {
if (Object.keys(modCategories).includes(item?.category)) {
modCategories[item?.category].push(item);
} else {
Expand Down

0 comments on commit a4ed44b

Please sign in to comment.