From edb9104d77a63c06c90fecaf05fcb2d9cb584109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Thu, 22 Feb 2024 18:44:32 -0600 Subject: [PATCH] fix: correct yaw mutation call --- src/app/tools/tankopedia/[id]/components/QuickInputs/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tools/tankopedia/[id]/components/QuickInputs/index.tsx b/src/app/tools/tankopedia/[id]/components/QuickInputs/index.tsx index c7a1fcc41..963c20e84 100644 --- a/src/app/tools/tankopedia/[id]/components/QuickInputs/index.tsx +++ b/src/app/tools/tankopedia/[id]/components/QuickInputs/index.tsx @@ -73,7 +73,7 @@ export function RotationInputs() { turretModelDefinition.yaw, ); modelTransformEvent.emit({ pitch, yaw }); - useDuel((state) => { + mutateDuel((state) => { state.protagonist!.pitch = pitch; state.protagonist!.yaw = yaw; });