@@ -27,6 +27,6 @@ function getStatus(index, taskPosition, testRun) {
2727exports . Task = function ( _a ) {
2828var task = _a . task , taskPosition = _a . taskPosition , index = _a . index , testRun = _a . testRun ;
2929var backgroundColor = getStatus ( index , taskPosition , testRun ) ;
30- var currentTask = taskPosition === index ;
31- return ( React . createElement ( List_1 . ListItem , { key :index , style :Object . assign ( { } , styles , { backgroundColor :backgroundColor } ) } , taskCheckbox_1 . taskCheckbox ( task , testRun ) , React . createElement ( "span" , { style :indexStyles } , index + 1 , "." ) , React . createElement ( "div" , { style :descriptionStyles } , React . createElement ( index_1 . Markdown , null , task . description ) ) ) ) ;
30+ var isCurrentTask = taskPosition === index ;
31+ return ( React . createElement ( List_1 . ListItem , { key :index , style :Object . assign ( { } , styles , { backgroundColor :backgroundColor } ) } , taskCheckbox_1 . taskCheckbox ( isCurrentTask , testRun ) , React . createElement ( "span" , { style :indexStyles } , index + 1 , "." ) , React . createElement ( "div" , { style :descriptionStyles } , React . createElement ( index_1 . Markdown , null , task . description ) ) ) ) ;
3232} ;