From 527d28b14f684d1c3a75a87533448629088e5f7c Mon Sep 17 00:00:00 2001 From: claustra01 Date: Sun, 18 Aug 2024 00:00:42 +0900 Subject: [PATCH] fix: lint --- src/components/Yatai/YataiTarget.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/Yatai/YataiTarget.tsx b/src/components/Yatai/YataiTarget.tsx index d7ff92a..77a00f1 100644 --- a/src/components/Yatai/YataiTarget.tsx +++ b/src/components/Yatai/YataiTarget.tsx @@ -43,10 +43,12 @@ export const YataiTarget = (props: ThreeElements["mesh"]) => { const position = props.position as [number, number, number]; const property = getTargetProperty(position); - const { targetStatus, updateTargetStatus } = useTargetStatusStore((state) => ({ - targetStatus: state.targetStatus, - updateTargetStatus: state.updateTargetStatus, - })); + const { targetStatus, updateTargetStatus } = useTargetStatusStore( + (state) => ({ + targetStatus: state.targetStatus, + updateTargetStatus: state.updateTargetStatus, + }), + ); // const size: [number, number, number] = useMemo(() => {