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

View File

@@ -90,7 +90,7 @@ const protectedRoutes = () =>
},
Leaderboard: {
component: Leaderboardiew,
options: { title: translate('leaderboardTitle') },
options: { title: translate('leaderboardTitle'), headerShown: false },
link: '/leaderboard',
},
Error: {

View File

@@ -131,7 +131,7 @@ const BoardRowComponent = ({ userAvatarUrl, userPseudo, userLvl, index }: BoardR
style={{
fontSize: 16,
fontStyle: 'normal',
flex: '1 1 0',
flex: 1,
marginHorizontal: 10,
fontWeight: '500',
}}