diff --git a/lib/ui/src/components/layout/layout.stories.js b/lib/ui/src/components/layout/layout.stories.js index 8cdf3f907548..4d36bf13da74 100644 --- a/lib/ui/src/components/layout/layout.stories.js +++ b/lib/ui/src/components/layout/layout.stories.js @@ -111,7 +111,6 @@ const mockProps = { Panel: MockPanel, pages: [], options: { isFullscreen: false, showNav: true, showPanel: true, panelPosition: 'right' }, - location: new URL('http://localhost:9011/?path=/components/UI-DesktopLayout-noNav'), path: '/story/UI-DesktopLayout-noNav', viewMode: 'story', storyId: 'UI-DesktopLayout-noNav', @@ -129,7 +128,6 @@ const realProps = { ), pages: [], options: { isFullscreen: false, showNav: true, showPanel: true, panelPosition: 'right' }, - location: new URL('http://localhost:9011/?path=/components/UI-DesktopLayout-noNav'), path: '/story/UI-DesktopLayout-noNav', viewMode: 'story', storyId: 'UI-DesktopLayout-noNav', diff --git a/lib/ui/src/components/layout/mobile.js b/lib/ui/src/components/layout/mobile.js index 098bdf2cc22b..f5381f2177ea 100644 --- a/lib/ui/src/components/layout/mobile.js +++ b/lib/ui/src/components/layout/mobile.js @@ -118,7 +118,7 @@ class Mobile extends Component { } render() { - const { Nav, Preview, Panel, pages, viewMode, location, storyId, options, path } = this.props; + const { Nav, Preview, Panel, pages, viewMode, storyId, options, path } = this.props; const { active } = this.state; return ( @@ -132,7 +132,6 @@ class Mobile extends Component { id="main" path={path} storyId={storyId} - location={location} viewMode={viewMode} debug={options} /> @@ -177,7 +176,6 @@ Mobile.propTypes = { viewMode: PropTypes.oneOf(['story', 'info']), storyId: PropTypes.string.isRequired, path: PropTypes.string.isRequired, - location: PropTypes.shape({}).isRequired, options: PropTypes.shape({ initialActive: PropTypes.number, }).isRequired,