File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { useMediaQuery, useTheme } from '../../theme';
7
7
import { Carousel } from '../Carousel' ;
8
8
import { Pattern } from '../CustomCatalog/CustomCard' ;
9
9
import { ErrorBoundary } from '../ErrorBoundary' ;
10
- import { OpenLeaderBoardButton , StateCardSekeleton } from './PerformersToogleButton' ;
10
+ import { StateCardSekeleton } from './PerformersToogleButton' ;
11
11
import {
12
12
CardsContainer ,
13
13
ContentWrapper ,
@@ -273,16 +273,23 @@ const PerformersSection: React.FC<PerformersSectionProps> = ({
273
273
</ Box >
274
274
{ onOpenLeaderboard && (
275
275
< 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 >
284
292
</ Button >
285
- < OpenLeaderBoardButton handleClick = { onOpenLeaderboard } />
286
293
</ div >
287
294
) }
288
295
</ TitleBox >
You can’t perform that action at this time.
0 commit comments