From 458daf6c67c26134dfd27a8a8c0fcef32daf7a45 Mon Sep 17 00:00:00 2001 From: Kajetan Kazimierczak Date: Tue, 25 May 2021 20:05:22 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20knapparna=20i=20childList?= =?UTF-8?q?Item=20pekar=20r=C3=A4tt=20igen=20(#407)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/app/components/childListItem.component.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/app/components/childListItem.component.tsx b/packages/app/components/childListItem.component.tsx index 2e895c27..d94d9d30 100644 --- a/packages/app/components/childListItem.component.tsx +++ b/packages/app/components/childListItem.component.tsx @@ -126,7 +126,7 @@ export const ChildListItem = ({ child, color }: ChildListItemProps) => { navigation.navigate('Child', { child, color, - initialRouteName: translate('navigation.news'), + initialRouteName: 'navigation.news', }) } accessoryLeft={NewsIcon} @@ -142,7 +142,7 @@ export const ChildListItem = ({ child, color }: ChildListItemProps) => { navigation.navigate('Child', { child, color, - initialRouteName: translate('navigation.notifications'), + initialRouteName: 'navigation.notifications', }) } accessoryLeft={NotificationsIcon} @@ -158,7 +158,7 @@ export const ChildListItem = ({ child, color }: ChildListItemProps) => { navigation.navigate('Child', { child, color, - initialRouteName: translate('navigation.calender'), + initialRouteName: 'navigation.calender', }) } accessoryLeft={CalendarOutlineIcon} @@ -174,7 +174,7 @@ export const ChildListItem = ({ child, color }: ChildListItemProps) => { navigation.navigate('Child', { child, color, - initialRouteName: translate('navigation.menu'), + initialRouteName: 'navigation.menu', }) } accessoryLeft={MenuIcon}