@@ -359,39 +359,38 @@ const ModelableMethodRow = forwardRef<HTMLDivElement, MethodRowProps>(
359359) ;
360360ModelableMethodRow . displayName = "ModelableMethodRow" ;
361361
362- const UnmodelableMethodRow = forwardRef <
363- HTMLDivElement ,
364- MethodRowProps
365- > ( ( props : MethodRowProps , ref ) => {
366- const { method, viewState, revealedMethodSignature } = props ;
367-
368- const jumpToMethod = useCallback (
369- ( ) => sendJumpToMethodMessage ( method ) ,
370- [ method ] ,
371- ) ;
372-
373- return (
374- < DataGridRow
375- data-testid = "unmodelable-method-row"
376- focused = { revealedMethodSignature === method . signature }
377- >
378- < DataGridCell ref = { ref } >
379- < ApiOrMethodRow >
380- < ModelingStatusIndicator status = "saved" />
381- < MethodClassifications method = { method } />
382- < MethodName { ...props . method } />
383- { viewState . mode === Mode . Application && (
384- < UsagesButton onClick = { jumpToMethod } >
385- { method . usages . length }
386- </ UsagesButton >
387- ) }
388- < ViewLink onClick = { jumpToMethod } > View</ ViewLink >
389- </ ApiOrMethodRow >
390- </ DataGridCell >
391- < DataGridCell gridColumn = "span 5" > Method already modeled</ DataGridCell >
392- </ DataGridRow >
393- ) ;
394- } ) ;
362+ const UnmodelableMethodRow = forwardRef < HTMLDivElement , MethodRowProps > (
363+ ( props : MethodRowProps , ref ) => {
364+ const { method, viewState, revealedMethodSignature } = props ;
365+
366+ const jumpToMethod = useCallback (
367+ ( ) => sendJumpToMethodMessage ( method ) ,
368+ [ method ] ,
369+ ) ;
370+
371+ return (
372+ < DataGridRow
373+ data-testid = "unmodelable-method-row"
374+ focused = { revealedMethodSignature === method . signature }
375+ >
376+ < DataGridCell ref = { ref } >
377+ < ApiOrMethodRow >
378+ < ModelingStatusIndicator status = "saved" />
379+ < MethodClassifications method = { method } />
380+ < MethodName { ...props . method } />
381+ { viewState . mode === Mode . Application && (
382+ < UsagesButton onClick = { jumpToMethod } >
383+ { method . usages . length }
384+ </ UsagesButton >
385+ ) }
386+ < ViewLink onClick = { jumpToMethod } > View</ ViewLink >
387+ </ ApiOrMethodRow >
388+ </ DataGridCell >
389+ < DataGridCell gridColumn = "span 5" > Method already modeled</ DataGridCell >
390+ </ DataGridRow >
391+ ) ;
392+ } ,
393+ ) ;
395394UnmodelableMethodRow . displayName = "UnmodelableMethodRow" ;
396395
397396function sendJumpToMethodMessage ( method : Method ) {
0 commit comments