@@ -75,6 +75,7 @@ export default function Element({data, index, style}: Props): React.Node {
7575 }
7676 } ;
7777
78+ // $FlowFixMe[missing-local-annot]
7879 const handleClick = ( { metaKey} ) => {
7980 if ( id !== null ) {
8081 logEvent ( {
@@ -99,6 +100,7 @@ export default function Element({data, index, style}: Props): React.Node {
99100 setIsHovered ( false ) ;
100101 } ;
101102
103+ // $FlowFixMe[missing-local-annot]
102104 const handleKeyDoubleClick = event => {
103105 // Double clicks on key value are used for text selection (if the text has been truncated).
104106 // They should not enter the owners tree view.
@@ -220,6 +222,7 @@ export default function Element({data, index, style}: Props): React.Node {
220222}
221223
222224// Prevent double clicks on toggle from drilling into the owner list.
225+ // $FlowFixMe[missing-local-annot]
223226const swallowDoubleClick = event => {
224227 event . preventDefault ( ) ;
225228 event . stopPropagation ( ) ;
@@ -233,13 +236,15 @@ type ExpandCollapseToggleProps = {
233236function ExpandCollapseToggle ( { element, store} : ExpandCollapseToggleProps ) {
234237 const { children, id, isCollapsed} = element ;
235238
239+ // $FlowFixMe[missing-local-annot]
236240 const toggleCollapsed = event => {
237241 event . preventDefault ( ) ;
238242 event . stopPropagation ( ) ;
239243
240244 store . toggleIsCollapsed ( id , ! isCollapsed ) ;
241245 } ;
242246
247+ // $FlowFixMe[missing-local-annot]
243248 const stopPropagation = event => {
244249 // Prevent the row from selecting
245250 event . stopPropagation ( ) ;
0 commit comments