File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
static/app/views/profiling/profileSummary Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -335,14 +335,14 @@ function ProfileSummaryPage(props: ProfileSummaryPageProps) {
335335 [ setFrameFilter ]
336336 ) ;
337337
338- const flamegraphFrameFilter : ( ( frame : Frame ) => boolean ) | undefined = useMemo ( ( ) => {
338+ const flamegraphFrameFilter = useMemo ( ( ) : ( ( frame : Frame ) => boolean ) => {
339339 if ( frameFilter === 'all' ) {
340340 return ( ) => true ;
341341 }
342342 if ( frameFilter === 'application' ) {
343- return frame => frame . is_application ;
343+ return ( frame : Frame ) => frame . is_application ;
344344 }
345- return frame => ! frame . is_application ;
345+ return ( frame : Frame ) => ! frame . is_application ;
346346 } , [ frameFilter ] ) ;
347347
348348 const onResetFrameFilter = useCallback ( ( ) => {
You can’t perform that action at this time.
0 commit comments