From b893409a0a74096082708020d87ed946fcf328e8 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Sun, 10 Nov 2024 22:15:11 -0600 Subject: [PATCH] fix: don't reset on click --- .../components/Options/components/CustomShellButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/website/src/components/Tankopedia/HeroSection/components/Options/components/CustomShellButton.tsx b/packages/website/src/components/Tankopedia/HeroSection/components/Options/components/CustomShellButton.tsx index 13d51c756..3e70c7f1b 100644 --- a/packages/website/src/components/Tankopedia/HeroSection/components/Options/components/CustomShellButton.tsx +++ b/packages/website/src/components/Tankopedia/HeroSection/components/Options/components/CustomShellButton.tsx @@ -22,7 +22,7 @@ export function CustomShellButton() { return ( { - if (!open) return; + if (!open || customShell) return; mutateTankopediaEphemeral((draft) => { draft.customShell = antagonistShell;