File tree Expand file tree Collapse file tree
static/app/views/profiling Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import {vec2} from 'gl-matrix';
66
77import { addErrorMessage } from 'sentry/actionCreators/indicator' ;
88import Feature from 'sentry/components/acl/feature' ;
9+ import * as Layout from 'sentry/components/layouts/thirds' ;
910import { usePageFilters } from 'sentry/components/pageFilters/usePageFilters' ;
1011import { DifferentialFlamegraphLayout } from 'sentry/components/profiling/flamegraph/differentialFlamegraphLayout' ;
1112import { FlamegraphContextMenu } from 'sentry/components/profiling/flamegraph/flamegraphContextMenu' ;
@@ -356,18 +357,20 @@ const DifferentialFlamegraphContainer = styled('div')`
356357
357358function DifferentialFlamegraphWithProviders ( ) {
358359 return (
359- < FlamegraphThemeProvider >
360- < FlamegraphStateProvider
361- initialState = { {
362- preferences : {
363- sorting : 'alphabetical' ,
364- view : 'top down' ,
365- } ,
366- } }
367- >
368- < DifferentialFlamegraphView />
369- </ FlamegraphStateProvider >
370- </ FlamegraphThemeProvider >
360+ < Layout . Page >
361+ < FlamegraphThemeProvider >
362+ < FlamegraphStateProvider
363+ initialState = { {
364+ preferences : {
365+ sorting : 'alphabetical' ,
366+ view : 'top down' ,
367+ } ,
368+ } }
369+ >
370+ < DifferentialFlamegraphView />
371+ </ FlamegraphStateProvider >
372+ </ FlamegraphThemeProvider >
373+ </ Layout . Page >
371374 ) ;
372375}
373376
Original file line number Diff line number Diff line change @@ -40,9 +40,7 @@ function ProfilingContainer() {
4040 ) }
4141 >
4242 < NoProjectMessage organization = { organization } >
43- < Layout . Page >
44- < Outlet />
45- </ Layout . Page >
43+ < Outlet />
4644 </ NoProjectMessage >
4745 </ Feature >
4846 ) ;
Original file line number Diff line number Diff line change @@ -781,10 +781,12 @@ const ProfileDigestLabel = styled('span')`
781781
782782export default function ProfileSummaryPageToggle ( ) {
783783 return (
784- < ProfileSummaryContainer data-test-id = "profile-summary-redesign" >
785- < ErrorBoundary >
786- < ProfileSummaryPage />
787- </ ErrorBoundary >
788- </ ProfileSummaryContainer >
784+ < Layout . Page >
785+ < ProfileSummaryContainer data-test-id = "profile-summary-redesign" >
786+ < ErrorBoundary >
787+ < ProfileSummaryPage />
788+ </ ErrorBoundary >
789+ </ ProfileSummaryContainer >
790+ </ Layout . Page >
789791 ) ;
790792}
You can’t perform that action at this time.
0 commit comments