Skip to content

Commit

Permalink
Update useRefresh.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Nov 29, 2023
1 parent 7803600 commit 556ad38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useRefresh.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function useRefresh() {
const existing = useStatic.getState().Icons
const Icons = existing ?? new UIcons(icons, masterfile.questRewardTypes)

Icons.build(icons.styles)
Icons.build(structuredClone(icons.styles))
if (icons.defaultIcons && !existing) {
Icons.setSelection(icons.defaultIcons)
}
Expand Down

0 comments on commit 556ad38

Please sign in to comment.