File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,9 +157,20 @@ export const OpeningDrillAnalysis: React.FC<Props> = ({
157157 }
158158 boardDescription = {
159159 analysisEnabled
160- ? analysisController . boardDescription ||
161- 'Analyzing position...'
162- : 'Analysis is disabled. Enable analysis to see detailed move evaluations and recommendations.'
160+ ? analysisController . boardDescription || {
161+ segments : [
162+ { type : 'text' , content : 'Analyzing position...' } ,
163+ ] ,
164+ }
165+ : {
166+ segments : [
167+ {
168+ type : 'text' ,
169+ content :
170+ 'Analysis is disabled. Enable analysis to see detailed move evaluations and recommendations.' ,
171+ } ,
172+ ] ,
173+ }
163174 }
164175 />
165176 </ div >
@@ -259,9 +270,20 @@ export const OpeningDrillAnalysis: React.FC<Props> = ({
259270 }
260271 boardDescription = {
261272 analysisEnabled
262- ? analysisController . boardDescription ||
263- 'Analyzing position...'
264- : 'Analysis is disabled. Enable analysis to see detailed move evaluations and recommendations.'
273+ ? analysisController . boardDescription || {
274+ segments : [
275+ { type : 'text' , content : 'Analyzing position...' } ,
276+ ] ,
277+ }
278+ : {
279+ segments : [
280+ {
281+ type : 'text' ,
282+ content :
283+ 'Analysis is disabled. Enable analysis to see detailed move evaluations and recommendations.' ,
284+ } ,
285+ ] ,
286+ }
265287 }
266288 />
267289 </ div >
You can’t perform that action at this time.
0 commit comments