fix(leaderboard): type check + headerShown set to false

This commit is contained in:
danis
2023-12-01 14:14:52 +01:00
parent 347c075ab1
commit 0e26dbfc65
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ const protectedRoutes = () =>
}, },
Leaderboard: { Leaderboard: {
component: Leaderboardiew, component: Leaderboardiew,
options: { title: translate('leaderboardTitle') }, options: { title: translate('leaderboardTitle'), headerShown: false },
link: '/leaderboard', link: '/leaderboard',
}, },
Error: { Error: {
+1 -1
View File
@@ -131,7 +131,7 @@ const BoardRowComponent = ({ userAvatarUrl, userPseudo, userLvl, index }: BoardR
style={{ style={{
fontSize: 16, fontSize: 16,
fontStyle: 'normal', fontStyle: 'normal',
flex: '1 1 0', flex: 1,
marginHorizontal: 10, marginHorizontal: 10,
fontWeight: '500', fontWeight: '500',
}} }}