Skip to content

Commit 3243538

Browse files
committed
Avoid spaces in file names
1 parent 1dc925b commit 3243538

File tree

9 files changed

+2
-2
lines changed

9 files changed

+2
-2
lines changed

src/pages/leaderboard/subcomponents/ContestLeaderboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const ContestLeaderboard: React.FC<Props> = ({ type, contestID }) => {
8585
}
8686

8787
rankedLeaderboard.map((row: ContestLeaderboardRow) => {
88-
row.avatar = `/assets/Sample Profile ${convertToRandomNumber(row.username)}.jpg`;
88+
row.avatar = `/assets/Sample_Profile_${convertToRandomNumber(row.username)}.jpg`;
8989
});
9090

9191
// const workspaceLocation = 'assessment';

src/pages/leaderboard/subcomponents/OverallLeaderboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const OverallLeaderboard: React.FC = () => {
6363
}
6464

6565
rankedLeaderboard.map((row: LeaderboardRow) => {
66-
row.avatar = `/assets/Sample Profile ${convertToRandomNumber(row.username)}.jpg`;
66+
row.avatar = `/assets/Sample_Profile_${convertToRandomNumber(row.username)}.jpg`;
6767
});
6868

6969
// Define column definitions for ag-Grid

0 commit comments

Comments
 (0)