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(
186
186
doc . on ( DocumentEvents . EditingFinished , onEditingFinished ) ;
187
187
188
188
return ( ) => {
189
- doc . on ( ElementEvents . Added , onUpdate ) ;
189
+ doc . off ( ElementEvents . Added , onUpdate ) ;
190
190
doc . off ( ElementEvents . Edited , onUpdate ) ;
191
191
doc . off ( ElementEvents . Removed , onUpdate ) ;
192
192
doc . off ( ElementEvents . Reverted , onUpdate ) ;
@@ -217,18 +217,6 @@ function useHadronDocumentStatus(
217
217
return { status, updateStatus, error } ;
218
218
}
219
219
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
-
232
220
const message = css ( {
233
221
overflow : 'scroll' ,
234
222
} ) ;
You can’t perform that action at this time.
0 commit comments