File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -143,9 +143,6 @@ const appStore = store({
143143 appStore . toggleUpdatingDesc ( false ) ;
144144 appStore . refreshMRActivities ( ) ;
145145 } ,
146- addComment ( comment : IComment ) {
147- appStore . comments . push ( comment ) ;
148- } ,
149146 initMRReviewers ( list : IMRReviewers ) {
150147 appStore . reviewers = list ;
151148 } ,
@@ -161,8 +158,6 @@ const appStore = store({
161158 updateMRComments ( res ) ;
162159 break ;
163160 }
164- case actions . MR_ADD_COMMENT : {
165- }
166161 default :
167162 break ;
168163 }
@@ -177,6 +172,7 @@ export const persistData = () =>
177172 currentMR : appStore . currentMR ,
178173 activities : appStore . activities ,
179174 reviewers : appStore . reviewers ,
175+ comments : appStore . comments ,
180176 } ) ;
181177 } ) ;
182178export const removeDataPersist = ( e : ( ) => void ) => clearEffect ( e ) ;
You can’t perform that action at this time.
0 commit comments