fix: don't reset on click

This commit is contained in:
tresabhi committed 2024-11-10 22:15:11 -06:00
1 parent 8dd4d80fca
commit b893409a0a
1 file changed
+1 -1
@@ -22,7 +22,7 @@ export function CustomShellButton() {
return ( return (
<Popover.Root <Popover.Root
onOpenChange={(open) => { onOpenChange={(open) => {
if (!open) return; if (!open || customShell) return;
mutateTankopediaEphemeral((draft) => { mutateTankopediaEphemeral((draft) => {
draft.customShell = antagonistShell; draft.customShell = antagonistShell;