File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/TypeScript/components Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ const SelectionButton = ({ nodeKey }: { nodeKey: string }) => {
72
72
< Button
73
73
appearance = "transparent"
74
74
icon = { nodeKey === selectedScenarioLevel ? < RadioButtonFilled /> : < RadioButtonRegular /> }
75
- onClick = { ( evt ) => {
76
- evt . stopPropagation ( ) ;
75
+ onClick = { ( event : React . MouseEvent ) => {
76
+ event . stopPropagation ( ) ;
77
77
selectScenarioLevel ( nodeKey ) ;
78
78
} }
79
79
aria-label = "Select"
@@ -111,9 +111,9 @@ const ScoreNodeHeader = ({ item, showPrompt }:
111
111
112
112
return ( < div className = { headerClass } >
113
113
{ scoreSummary . includesReportHistory && < SelectionButton nodeKey = { item . nodeKey } /> }
114
- < PassFailBar pass = { ctPass } total = { ctPass + ctFail } width = "24px" height = "12px"
115
- selected = { item . nodeKey == selectedScenarioLevel }
116
- onClick = { ( event ) => {
114
+ < PassFailBar pass = { ctPass } total = { ctPass + ctFail } width = "24px" height = "12px"
115
+ selected = { item . nodeKey == selectedScenarioLevel }
116
+ onClick = { ( event : React . MouseEvent ) => {
117
117
if ( scoreSummary . includesReportHistory ) {
118
118
event . stopPropagation ( ) ;
119
119
selectScenarioLevel ( item . nodeKey ) ;
You can’t perform that action at this time.
0 commit comments