Skip to content

Commit 458a188

Browse files
committed
Small changes
1 parent e0cbecc commit 458a188

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/components/predictions/leaderboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const Leaderboard = ({ user }) => {
1010
const [admin, adminLoading, adminError] = useObject(
1111
firebase.database().ref("admins/" + user.uid)
1212
);
13-
13+
1414
const [names, namesLoading, namesError] = useObject(
1515
firebase.database().ref("public")
1616
);
@@ -102,7 +102,7 @@ const Leaderboard = ({ user }) => {
102102
</Box>
103103
)}
104104
<Spacer height={3} />
105-
{/*if user.uid matches below, then a button is rendered that allows for updating all scores*/}
105+
{/*if user.uid matches any admin uid, then a button is rendered that allows for updating all scores*/}
106106
{!adminError && !adminLoading && admin && <UpdateScore />}
107107
</div>
108108
);

0 commit comments

Comments
 (0)