File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
packages/compass-components/src/components/document-list Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ function useHadronDocumentStatus(
186186 doc . on ( DocumentEvents . EditingFinished , onEditingFinished ) ;
187187
188188 return ( ) => {
189- doc . on ( ElementEvents . Added , onUpdate ) ;
189+ doc . off ( ElementEvents . Added , onUpdate ) ;
190190 doc . off ( ElementEvents . Edited , onUpdate ) ;
191191 doc . off ( ElementEvents . Removed , onUpdate ) ;
192192 doc . off ( ElementEvents . Reverted , onUpdate ) ;
@@ -217,18 +217,6 @@ function useHadronDocumentStatus(
217217 return { status, updateStatus, error } ;
218218}
219219
220- const container = css ( {
221- display : 'flex' ,
222- paddingTop : spacing [ 200 ] ,
223- paddingRight : spacing [ 200 ] ,
224- paddingBottom : spacing [ 200 ] ,
225- paddingLeft : spacing [ 400 ] ,
226- alignItems : 'center' ,
227- gap : spacing [ 200 ] ,
228- borderBottomLeftRadius : 'inherit' ,
229- borderBottomRightRadius : 'inherit' ,
230- } ) ;
231-
232220const message = css ( {
233221 overflow : 'scroll' ,
234222} ) ;
You can’t perform that action at this time.
0 commit comments