1- import { Box , Grid2 , Stack , Typography } from '@mui/material' ;
1+ import { Box , Grid , Stack , Typography } from '@mui/material' ;
22import { trackSentryError , useLayout } from '@origin/analytics/shared' ;
33import { ErrorBoundary , ErrorCard } from '@origin/shared/components' ;
44import { useIntl } from 'react-intl' ;
@@ -20,8 +20,8 @@ export const HomeView = () => {
2020 const [ { isDrawerOpen } ] = useLayout ( ) ;
2121
2222 return (
23- < Grid2 container spacing = { 2 } >
24- < Grid2 size = { { xs : 12 , md : isDrawerOpen ? 12 : 8 , lg : 8 } } >
23+ < Grid container spacing = { 2 } >
24+ < Grid size = { { xs : 12 , md : isDrawerOpen ? 12 : 8 , lg : 8 } } >
2525 < Stack spacing = { 2 } >
2626 < Stack spacing = { 2 } >
2727 < Stack
@@ -54,43 +54,43 @@ export const HomeView = () => {
5454 </ Stack >
5555 < Controls />
5656 </ Stack >
57- < Grid2 container spacing = { 2 } >
58- < Grid2 size = { { xs : 12 , md : 6 } } >
57+ < Grid container spacing = { 2 } >
58+ < Grid size = { { xs : 12 , md : 6 } } >
5959 < ErrorBoundary
6060 ErrorComponent = { < ErrorCard /> }
6161 onError = { trackSentryError }
6262 >
6363 < NetAssetsCard height = { CHART_HEIGHT } />
6464 </ ErrorBoundary >
65- </ Grid2 >
66- < Grid2 size = { { xs : 12 , md : 6 } } >
65+ </ Grid >
66+ < Grid size = { { xs : 12 , md : 6 } } >
6767 < ErrorBoundary
6868 ErrorComponent = { < ErrorCard /> }
6969 onError = { trackSentryError }
7070 >
7171 < ProtocolRevenueCard height = { CHART_HEIGHT } />
7272 </ ErrorBoundary >
73- </ Grid2 >
74- < Grid2 size = { { xs : 12 , md : 6 } } >
73+ </ Grid >
74+ < Grid size = { { xs : 12 , md : 6 } } >
7575 < ErrorBoundary
7676 ErrorComponent = { < ErrorCard /> }
7777 onError = { trackSentryError }
7878 >
7979 < TokenSupplyCard height = { CHART_HEIGHT } />
8080 </ ErrorBoundary >
81- </ Grid2 >
82- < Grid2 size = { { xs : 12 , md : 6 } } >
81+ </ Grid >
82+ < Grid size = { { xs : 12 , md : 6 } } >
8383 < ErrorBoundary
8484 ErrorComponent = { < ErrorCard /> }
8585 onError = { trackSentryError }
8686 >
8787 < TvlCard height = { CHART_HEIGHT } />
8888 </ ErrorBoundary >
89- </ Grid2 >
90- </ Grid2 >
89+ </ Grid >
90+ </ Grid >
9191 </ Stack >
92- </ Grid2 >
93- < Grid2 size = { { xs : 12 , md : isDrawerOpen ? 12 : 4 , lg : 4 } } >
92+ </ Grid >
93+ < Grid size = { { xs : 12 , md : isDrawerOpen ? 12 : 4 , lg : 4 } } >
9494 < Stack spacing = { 2 } >
9595 < Typography variant = "featured3" sx = { { fontWeight : 'bold' } } >
9696 { intl . formatMessage ( { defaultMessage : 'OGN Token Metrics' } ) }
@@ -120,7 +120,7 @@ export const HomeView = () => {
120120 </ Stack >
121121 < OgnPerformanceCard />
122122 </ Stack >
123- </ Grid2 >
124- </ Grid2 >
123+ </ Grid >
124+ </ Grid >
125125 ) ;
126126} ;
0 commit comments