Skip to content

Commit a2dc8d8

Browse files
committed
Fix lint formatting in GameBoard, PlaySetupModal, and useAnalysisController
https://claude.ai/code/session_01UGfnsFfXcafbYbt2TuFUVq
1 parent d217701 commit a2dc8d8

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

src/components/Board/GameBoard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export const GameBoard: React.FC<Props> = ({
198198
<MoveClassificationIcon
199199
classification={badge.classification}
200200
size="small"
201-
className="!ml-0 !h-3.5 !w-3.5 !text-[9px] pointer-events-none"
201+
className="pointer-events-none !ml-0 !h-3.5 !w-3.5 !text-[9px]"
202202
/>
203203
</div>
204204
</div>

src/components/Common/PlaySetupModal.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ function OptionSelect<T>({
5858
<button
5959
key={index}
6060
className={`flex-1 px-4 py-2 text-sm font-medium transition-colors ${
61-
option === selected
62-
? selectedClassName
63-
: unselectedClassName
61+
option === selected ? selectedClassName : unselectedClassName
6462
} ${index === 0 ? 'rounded-l-lg' : ''} ${
6563
index === options.length - 1 ? 'rounded-r-lg' : ''
6664
}`}

src/hooks/useAnalysisController/useAnalysisController.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,7 @@ export const useAnalysisController = (
223223
square: topHumanMove.slice(2, 4),
224224
classification,
225225
}
226-
}, [
227-
controller.currentNode,
228-
moveEvaluation,
229-
currentMaiaModel,
230-
])
226+
}, [controller.currentNode, moveEvaluation, currentMaiaModel])
231227

232228
return {
233229
gameTree: controller.tree,

0 commit comments

Comments
 (0)