Skip to content

Commit 3538a6f

Browse files
authored
Merge pull request #3985 from topcoder-platform/hot-fixes-leaderboard
Hot fixes leaderboard
2 parents 6181521 + a87fc59 commit 3538a6f

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.circleci/config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ workflows:
183183
branches:
184184
only:
185185
- develop
186+
- hot-fixes-leaderboard
186187
# This is beta env for production soft releases
187188
- "build-prod-beta":
188189
context : org-global

__tests__/shared/components/Leaderboard/__snapshots__/Podium.jsx.snap

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ exports[`Matches shallow shapshot 1`] = `
2929
isCopilot={false}
3030
isTopGear={false}
3131
onUsernameClick={null}
32+
themeName="Default"
3233
/>
3334
</div>
3435
<div
@@ -48,6 +49,7 @@ exports[`Matches shallow shapshot 1`] = `
4849
isCopilot={false}
4950
isTopGear={false}
5051
onUsernameClick={null}
52+
themeName="Default"
5153
/>
5254
</div>
5355
<div
@@ -67,6 +69,7 @@ exports[`Matches shallow shapshot 1`] = `
6769
isCopilot={false}
6870
isTopGear={false}
6971
onUsernameClick={null}
72+
themeName="Default"
7073
/>
7174
</div>
7275
<div
@@ -86,6 +89,7 @@ exports[`Matches shallow shapshot 1`] = `
8689
isCopilot={false}
8790
isTopGear={false}
8891
onUsernameClick={null}
92+
themeName="Default"
8993
/>
9094
</div>
9195
</div>

src/shared/components/Leaderboard/PodiumSpot/index.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,13 @@ PodiumSpot.propTypes = {
220220
onUsernameClick: PT.func,
221221
isTopGear: PT.bool,
222222
isAlgo: PT.bool,
223-
themeName: PT.string.isRequired,
223+
themeName: PT.string,
224224
};
225225

226226
PodiumSpot.defaultProps = {
227227
isCopilot: false,
228228
onUsernameClick: null,
229229
isTopGear: false,
230230
isAlgo: false,
231+
themeName: 'Default',
231232
};

0 commit comments

Comments
 (0)