diff --git a/packages/gatsby-theme-carbon/src/components/NextPrevious/NextPrevious.js b/packages/gatsby-theme-carbon/src/components/NextPrevious/NextPrevious.js index 8e3197e1b..6c68b878d 100644 --- a/packages/gatsby-theme-carbon/src/components/NextPrevious/NextPrevious.js +++ b/packages/gatsby-theme-carbon/src/components/NextPrevious/NextPrevious.js @@ -164,10 +164,13 @@ const NextPreviousContainer = props => { return {}; // final page }; - const previousItem = getPreviousItem(); - const nextItem = getNextItem(); + if (currentTitle !== 'Home' && !navigationList[navIndex]) { + return null; + } - return ; + return ( + + ); }; export default NextPreviousContainer;