@@ -12,6 +12,7 @@ const mapStateToProps = (rootState: RootState) => {
12
12
announcements : rootState . notification . announcements ,
13
13
commitHash : rootState . submission . commitHash ,
14
14
currentAiId : rootState . submission . currentAiId ,
15
+ isCodeLocked : rootState . submission . isCodeLocked ,
15
16
isNotificationPresent : rootState . user . isNotificationPresent ,
16
17
isSocketPresent : rootState . user . isSocketPresent ,
17
18
loading : rootState . notification . loading ,
@@ -56,6 +57,7 @@ const mapDispatchToProps = (dispatch: Dispatch) => {
56
57
sendInfo : ( message : string ) => dispatch ( NotificationActions . info ( message ) ) ,
57
58
sendSuccess : ( message : string ) => dispatch ( NotificationActions . success ( message ) ) ,
58
59
success : ( message : string ) => dispatch ( NotificationActions . success ( message ) ) ,
60
+ toggleLockCode : ( ) => dispatch ( SubmissionActions . toggleLockCode ( ) ) ,
59
61
updateDisplayDebugLog : ( log : string ) => dispatch ( GameLogActions . updateDisplayDebugLog ( log ) ) ,
60
62
updateGameLog : ( player1DebugLog : string , player2DebugLog : string , gameLog : string ) =>
61
63
dispatch ( GameLogActions . updateGameLog ( player1DebugLog , player2DebugLog , gameLog ) ) ,
0 commit comments