Skip to content

Commit

Permalink
hotfix: solved not finishing removing UpdateBoardType
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanFama592 committed Feb 13, 2024
1 parent 8378f22 commit 6c0e4ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/react/Square.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import GameContext from '@/assets/react/contexts/GameContext'
import useDisableSquare from '@/assets/react/hooks/useDisableSquare'
import { builderColorTurnVarCSS } from '@/assets/ts/constants'
import type { UpdateBoardType } from '@/assets/types/types'
import type { SizeDeclarationBoard } from '@/assets/types/types'
import React, { useContext } from 'react'

export interface ISquareProps {
children: number | null
indexs?: [number, number]
color?: boolean
disabled?: boolean
updateBoard?: UpdateBoardType
updateBoard?: (indexs: SizeDeclarationBoard) => void
}

export default function Square({
Expand Down

0 comments on commit 6c0e4ef

Please sign in to comment.