From 7ce65908aabaa71637cfd9c7a2dd0158f7968064 Mon Sep 17 00:00:00 2001 From: atanasster Date: Fri, 31 Jul 2020 06:18:13 -0400 Subject: [PATCH] fix: nextjs active tab prop --- examples/nextjs/pages/[doctype]/[...docid].tsx | 3 ++- examples/starter/pages/[doctype]/[...docid].tsx | 3 ++- examples/stories/src/tutorial/getting-started/ssg/nextjs.mdx | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/nextjs/pages/[doctype]/[...docid].tsx b/examples/nextjs/pages/[doctype]/[...docid].tsx index ce2f61860..0d604140c 100644 --- a/examples/nextjs/pages/[doctype]/[...docid].tsx +++ b/examples/nextjs/pages/[doctype]/[...docid].tsx @@ -22,9 +22,10 @@ const DocPageTemplate: FC = ({ storyId, type, category, + activeTab, }) => { return ( - + ); diff --git a/examples/starter/pages/[doctype]/[...docid].tsx b/examples/starter/pages/[doctype]/[...docid].tsx index ce2f61860..0d604140c 100644 --- a/examples/starter/pages/[doctype]/[...docid].tsx +++ b/examples/starter/pages/[doctype]/[...docid].tsx @@ -22,9 +22,10 @@ const DocPageTemplate: FC = ({ storyId, type, category, + activeTab, }) => { return ( - + ); diff --git a/examples/stories/src/tutorial/getting-started/ssg/nextjs.mdx b/examples/stories/src/tutorial/getting-started/ssg/nextjs.mdx index 1b84352cd..0670e6d79 100644 --- a/examples/stories/src/tutorial/getting-started/ssg/nextjs.mdx +++ b/examples/stories/src/tutorial/getting-started/ssg/nextjs.mdx @@ -301,9 +301,10 @@ const DocPageTemplate: FC = ({ storyId, type, category, + activeTab, }) => { return ( - + );