diff --git a/src/pages/loot-tiers/index.js b/src/pages/loot-tiers/index.js index 4277f06a..bac04e90 100644 --- a/src/pages/loot-tiers/index.js +++ b/src/pages/loot-tiers/index.js @@ -47,7 +47,7 @@ const arrayChunk = (inputArray, chunkLength) => { function LootTier(props) { const [numberFilter, setNumberFilter] = useState(DEFAULT_MAX_ITEMS); const [minPrice, setMinPrice] = useStateWithLocalStorage('minPrice', 0); - const hasFlea = useSelector((state) => state.settings[state.setttings.gameMode].hasFlea); + const hasFlea = useSelector((state) => state.settings[state?.setttings?.gameMode ?? 'regular'].hasFlea); const [includeMarked, setIncludeMarked] = useStateWithLocalStorage( 'includeMarked', false,