@@ -19,7 +19,7 @@ import {
1919 ExportGame ,
2020 StatsDisplay ,
2121 AnalysisMovesContainer ,
22- PlayBoardController ,
22+ TreeBoardController ,
2323 PromotionOverlay ,
2424 TreeGameBoard ,
2525} from 'src/components'
@@ -236,7 +236,17 @@ export const GameplayTreeInterface: React.FC<React.PropsWithChildren<Props>> = (
236236 </ div >
237237 < div > { props . children } </ div >
238238 < div className = "flex-none" >
239- < PlayBoardController />
239+ < TreeBoardController
240+ orientation = { orientation }
241+ setOrientation = { setOrientation }
242+ currentNode = { currentNode }
243+ plyCount = { plyCount }
244+ goToNode = { goToNode }
245+ goToNextNode = { goToNextNode }
246+ goToPreviousNode = { goToPreviousNode }
247+ goToRootNode = { goToRootNode }
248+ gameTree = { gameTree }
249+ />
240250 </ div >
241251 { timeControl != 'unlimited' ? (
242252 < GameClock player = { orientation } reversed = { true } />
@@ -281,7 +291,17 @@ export const GameplayTreeInterface: React.FC<React.PropsWithChildren<Props>> = (
281291 < GameClock player = { orientation } reversed = { true } />
282292 ) : null }
283293 < div className = "flex-none" >
284- < PlayBoardController />
294+ < TreeBoardController
295+ orientation = { orientation }
296+ setOrientation = { setOrientation }
297+ currentNode = { currentNode }
298+ plyCount = { plyCount }
299+ goToNode = { goToNode }
300+ goToNextNode = { goToNextNode }
301+ goToPreviousNode = { goToPreviousNode }
302+ goToRootNode = { goToRootNode }
303+ gameTree = { gameTree }
304+ />
285305 </ div >
286306 < div className = "w-full overflow-x-auto" >
287307 < div className = "flex flex-row whitespace-nowrap py-2" >
0 commit comments