From 556ad3821ad3d0d4546ea62bf781f9514caa2e6d Mon Sep 17 00:00:00 2001 From: Derick M <58572875+TurtIeSocks@users.noreply.github.com> Date: Tue, 28 Nov 2023 20:06:38 -0500 Subject: [PATCH] Update useRefresh.js --- src/hooks/useRefresh.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useRefresh.js b/src/hooks/useRefresh.js index 973125e9a..771befa33 100644 --- a/src/hooks/useRefresh.js +++ b/src/hooks/useRefresh.js @@ -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) }