File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { useMediaQuery, useTheme } from '../../theme';
77import { Carousel } from '../Carousel' ;
88import { Pattern } from '../CustomCatalog/CustomCard' ;
99import { ErrorBoundary } from '../ErrorBoundary' ;
10- import { OpenLeaderBoardButton , StateCardSekeleton } from './PerformersToogleButton' ;
10+ import { StateCardSekeleton } from './PerformersToogleButton' ;
1111import {
1212 CardsContainer ,
1313 ContentWrapper ,
@@ -273,16 +273,23 @@ const PerformersSection: React.FC<PerformersSectionProps> = ({
273273 </ Box >
274274 { onOpenLeaderboard && (
275275 < div >
276- < Button
277- variant = "contained"
278- onClick = { ( ) => onOpenLeaderboard ( ) }
279- sx = { {
280- display : { xs : 'none' , sm : 'inline-flex' }
281- } }
282- >
283- Open Leaderboard
276+ < Button variant = "contained" onClick = { ( ) => onOpenLeaderboard ( ) } >
277+ < TropyIcon
278+ style = { {
279+ height : '2rem' ,
280+ width : '2rem' ,
281+ display : smallScreen ? 'inline-flex' : 'none'
282+ } }
283+ />
284+ < p
285+ style = { {
286+ margin : 0 ,
287+ display : smallScreen ? 'none' : 'inline-flex'
288+ } }
289+ >
290+ Open Leaderboard
291+ </ p >
284292 </ Button >
285- < OpenLeaderBoardButton handleClick = { onOpenLeaderboard } />
286293 </ div >
287294 ) }
288295 </ TitleBox >
You can’t perform that action at this time.
0 commit comments