@@ -96,8 +96,8 @@ const AnalysisPage: NextPage = () => {
96
96
async (
97
97
id : string ,
98
98
pgn : string ,
99
- setCurrentMove ?: Dispatch < SetStateAction < number > > ,
100
99
currentMaiaModel = 'maia_kdd_1500' ,
100
+ setCurrentMove ?: Dispatch < SetStateAction < number > > ,
101
101
) => {
102
102
let game
103
103
try {
@@ -121,8 +121,8 @@ const AnalysisPage: NextPage = () => {
121
121
async (
122
122
id : string ,
123
123
type : 'play' | 'hand' | 'brain' ,
124
- setCurrentMove ?: Dispatch < SetStateAction < number > > ,
125
124
currentMaiaModel = 'maia_kdd_1500' ,
125
+ setCurrentMove ?: Dispatch < SetStateAction < number > > ,
126
126
) => {
127
127
let game
128
128
try {
@@ -192,14 +192,14 @@ interface Props {
192
192
getAndSetLichessGames : (
193
193
id : string ,
194
194
pgn : string ,
195
+ currentMaiaModel : string ,
195
196
setCurrentMove ?: Dispatch < SetStateAction < number > > ,
196
- currentMaiaModel ?: string ,
197
197
) => Promise < void >
198
198
getAndSetUserGames : (
199
199
id : string ,
200
200
type : 'play' | 'hand' | 'brain' ,
201
- setCurrentMove : Dispatch < SetStateAction < number > > ,
202
201
currentMaiaModel : string ,
202
+ setCurrentMove ?: Dispatch < SetStateAction < number > > ,
203
203
) => Promise < void >
204
204
analyzedGame : LegacyAnalyzedGame
205
205
initialIndex : number
0 commit comments