Skip to content

Commit

Permalink
Use @storybookjs/components-marketing canary
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegach committed Nov 9, 2023
1 parent c3297e4 commit 270b4d1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@mdx-js/mdx": "^1.6.16",
"@mdx-js/react": "^1.6.16",
"@storybook/api": "^6.5.9",
"@storybook/components-marketing": "^2.1.3",
"@storybook/components-marketing": "2.1.4--canary.71.c173276.0",
"@storybook/design-system": "7.13.1",
"@storybook/theming": "^6.5.9",
"core-js": "^3.22.8",
Expand Down
3 changes: 0 additions & 3 deletions src/components/layout/PageLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export function PurePageLayout({ dxData, children, pageContext, ...props }) {
const {
algoliaDocSearchConfig,
description,
defaultRenderer,
googleSiteVerification,
latestVersionString,
ogImage,
Expand All @@ -74,7 +73,6 @@ export function PurePageLayout({ dxData, children, pageContext, ...props }) {
} = useSiteMetadata();
const isHomePage = props.location.pathname === '/';

const { renderer } = pageContext;
const activeSection = activeRouteSection(props.location.pathname);

return (
Expand Down Expand Up @@ -139,7 +137,6 @@ export function PurePageLayout({ dxData, children, pageContext, ...props }) {
/>
<Nav
inverse={isHomePage}
framework={renderer || defaultRenderer}
version={versionString || latestVersionString}
apiKey={ALGOLIA_API_KEY}
activeSection={activeSection}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4949,10 +4949,10 @@
core-js "^3.8.2"
global "^4.4.0"

"@storybook/components-marketing@^2.1.3":
version "2.1.3"
resolved "https://registry.yarnpkg.com/@storybook/components-marketing/-/components-marketing-2.1.3.tgz#562bfc65fec3530dec20fd80deac522bd73e770d"
integrity sha512-Hviv7XwMg71/lKm2xqebLHOM6ObH2VG3zKArh9VzBXLbvV47reroweRgfk6qyvxhzBBdYVhwuZdhE5GTJihfEA==
"@storybook/[email protected].4--canary.71.c173276.0":
version "2.1.4--canary.71.c173276.0"
resolved "https://registry.npmjs.org/@storybook/components-marketing/-/components-marketing-2.1.4--canary.71.c173276.0.tgz#9217e2818a43b49d35fb9c4336a58a065cbfb2c2"
integrity sha512-iQkhXyozB6MOYz0TQ34vjvML+hRZquaheERMWWuRdZdRfWIyFrgydXBOk/Tz0h//egmliyLwFCLxc351dcQNtw==
dependencies:
"@docsearch/react" "^3.1.0"
"@emotion/weak-memoize" "^0.2.5"
Expand Down

0 comments on commit 270b4d1

Please sign in to comment.