From 70ca7bfb2cbd69192fcb2468339b243f66c195fc Mon Sep 17 00:00:00 2001 From: Razzmatazz Date: Thu, 4 Jul 2024 07:22:13 -0500 Subject: [PATCH] fix loot tiers page --- src/pages/loot-tiers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,