@@ -75,6 +75,7 @@ export default function Element({data, index, style}: Props): React.Node {
75
75
}
76
76
} ;
77
77
78
+ // $FlowFixMe[missing-local-annot]
78
79
const handleClick = ( { metaKey} ) => {
79
80
if ( id !== null ) {
80
81
logEvent ( {
@@ -99,6 +100,7 @@ export default function Element({data, index, style}: Props): React.Node {
99
100
setIsHovered ( false ) ;
100
101
} ;
101
102
103
+ // $FlowFixMe[missing-local-annot]
102
104
const handleKeyDoubleClick = event => {
103
105
// Double clicks on key value are used for text selection (if the text has been truncated).
104
106
// They should not enter the owners tree view.
@@ -220,6 +222,7 @@ export default function Element({data, index, style}: Props): React.Node {
220
222
}
221
223
222
224
// Prevent double clicks on toggle from drilling into the owner list.
225
+ // $FlowFixMe[missing-local-annot]
223
226
const swallowDoubleClick = event => {
224
227
event . preventDefault ( ) ;
225
228
event . stopPropagation ( ) ;
@@ -233,13 +236,15 @@ type ExpandCollapseToggleProps = {
233
236
function ExpandCollapseToggle ( { element, store} : ExpandCollapseToggleProps ) {
234
237
const { children, id, isCollapsed} = element ;
235
238
239
+ // $FlowFixMe[missing-local-annot]
236
240
const toggleCollapsed = event => {
237
241
event . preventDefault ( ) ;
238
242
event . stopPropagation ( ) ;
239
243
240
244
store . toggleIsCollapsed ( id , ! isCollapsed ) ;
241
245
} ;
242
246
247
+ // $FlowFixMe[missing-local-annot]
243
248
const stopPropagation = event => {
244
249
// Prevent the row from selecting
245
250
event . stopPropagation ( ) ;
0 commit comments