fix(leaderboard): type check + headerShown set to false
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
@@ -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',
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user