@@ -12,6 +12,7 @@ const mapStateToProps = (rootState: RootState) => {
1212 announcements : rootState . notification . announcements ,
1313 commitHash : rootState . submission . commitHash ,
1414 currentAiId : rootState . submission . currentAiId ,
15+ isCodeLocked : rootState . submission . isCodeLocked ,
1516 isNotificationPresent : rootState . user . isNotificationPresent ,
1617 isSocketPresent : rootState . user . isSocketPresent ,
1718 loading : rootState . notification . loading ,
@@ -56,6 +57,7 @@ const mapDispatchToProps = (dispatch: Dispatch) => {
5657 sendInfo : ( message : string ) => dispatch ( NotificationActions . info ( message ) ) ,
5758 sendSuccess : ( message : string ) => dispatch ( NotificationActions . success ( message ) ) ,
5859 success : ( message : string ) => dispatch ( NotificationActions . success ( message ) ) ,
60+ toggleLockCode : ( ) => dispatch ( SubmissionActions . toggleLockCode ( ) ) ,
5961 updateDisplayDebugLog : ( log : string ) => dispatch ( GameLogActions . updateDisplayDebugLog ( log ) ) ,
6062 updateGameLog : ( player1DebugLog : string , player2DebugLog : string , gameLog : string ) =>
6163 dispatch ( GameLogActions . updateGameLog ( player1DebugLog , player2DebugLog , gameLog ) ) ,
0 commit comments