From ebf386dfb54c72dc1caed429fc1e178f61e94583 Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Fri, 22 Nov 2019 17:07:16 +0100 Subject: [PATCH] Fix action ordering --- src/components/Navigator/Navigator.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Navigator/Navigator.tsx b/src/components/Navigator/Navigator.tsx index ea2b8510c..c8cd11f83 100644 --- a/src/components/Navigator/Navigator.tsx +++ b/src/components/Navigator/Navigator.tsx @@ -66,7 +66,7 @@ const Navigator: React.FC = () => { getItemProps={getItemProps} highlightedIndex={highlightedIndex} items={getViews(actions)} - offset={getActions(actions).length} + offset={0} /> )} {hasActions(actions) && ( @@ -78,7 +78,7 @@ const Navigator: React.FC = () => { getItemProps={getItemProps} highlightedIndex={highlightedIndex} items={getActions(actions)} - offset={0} + offset={getViews(actions).length} /> )}