diff --git a/src/hooks/useRefresh.js b/src/hooks/useRefresh.js index fc48b043c..2253c2dd3 100644 --- a/src/hooks/useRefresh.js +++ b/src/hooks/useRefresh.js @@ -38,9 +38,10 @@ export default function useRefresh() { const { icons: userIcons } = useStore.getState() const existing = useStatic.getState().Icons const Icons = existing ?? new UIcons(icons, masterfile.questRewardTypes) - if (Icons) { + + if (!existing) { Icons.build(icons.styles) - if (icons.defaultIcons && !existing) { + if (icons.defaultIcons) { Icons.setSelection(icons.defaultIcons) } if (Icons.checkValid(userIcons)) {