1
1
// Libraries
2
2
import React , { useState } from "react"
3
3
import { reverse , sortBy } from "lodash"
4
-
5
- // Components
6
- import Emoji from "./Emoji"
7
- import Translation from "./Translation"
8
4
import {
9
5
Box ,
10
6
Flex ,
@@ -15,6 +11,10 @@ import {
15
11
useRadioGroup ,
16
12
} from "@chakra-ui/react"
17
13
14
+ // Components
15
+ import Emoji from "./Emoji"
16
+ import Translation from "./Translation"
17
+
18
18
export interface IProps {
19
19
monthData : any
20
20
quarterData : any
@@ -117,17 +117,17 @@ const TranslationLeaderboard: React.FC<IProps> = ({
117
117
flexDirection = { { base : "column" , lg : "inherit" } }
118
118
w = "full"
119
119
>
120
- < RadioCard key = { "monthData" } { ...getRadioProps ( { value : "monthData" } ) } >
120
+ < RadioCard key = "monthData" { ...getRadioProps ( { value : "monthData" } ) } >
121
121
< Translation id = "page-contributing-translation-program-acknowledgements-translation-leaderboard-month-view" />
122
122
</ RadioCard >
123
123
< RadioCard
124
- key = { "quarterData" }
124
+ key = "quarterData"
125
125
{ ...getRadioProps ( { value : "quarterData" } ) }
126
126
>
127
127
< Translation id = "page-contributing-translation-program-acknowledgements-translation-leaderboard-quarter-view" />
128
128
</ RadioCard >
129
129
< RadioCard
130
- key = { "allTimeData" }
130
+ key = "allTimeData"
131
131
{ ...getRadioProps ( { value : "allTimeData" } ) }
132
132
>
133
133
< Translation id = "page-contributing-translation-program-acknowledgements-translation-leaderboard-all-time-view" />
@@ -140,7 +140,7 @@ const TranslationLeaderboard: React.FC<IProps> = ({
140
140
justifyContent = "space-between"
141
141
alignItems = "center"
142
142
color = "text"
143
- mb = "px "
143
+ mb = "1px "
144
144
p = { 4 }
145
145
w = "full"
146
146
>
@@ -198,7 +198,7 @@ const TranslationLeaderboard: React.FC<IProps> = ({
198
198
alignItems = "center"
199
199
color = "text"
200
200
boxShadow = { tableItemBoxShadow }
201
- mb = "px "
201
+ mb = "1px "
202
202
py = { 2 }
203
203
px = { 4 }
204
204
w = "full"
0 commit comments