title: Storybook error Cannot read property 'location' of undefined
body: <p>I'm trying to get my Storybook working with my React app. I'm using redux 4.0.1.</p>
  
  <p>I can't use a particular component where I also use redux. 
  This is the error I'm getting:</p>
  
  <blockquote>
    <p>Storybook error Cannot read property 'location' of undefined</p>
  </blockquote>
  
  <hr>
  
  <p>This is my my <code>devDependencies</code>:</p>
  
  <pre><code>  "devDependencies": {
      "@babel/core": "^7.10.0",
      "@storybook/addon-actions": "^5.3.19",
      "@storybook/addon-links": "^5.3.19",
      "@storybook/addons": "^5.3.19",
      "@storybook/react": "^5.3.19"
    }
  </code></pre>
  
  <p>My component <code>Navbar.js</code>:</p>
  
  <pre><code>import React, { Component } from "react";
  import { connect } from "react-redux";
  
  class Navbar extends Component {
    render() {
      const { user } = this.props.auth;
      return (
        &lt;div className="navbar-fixed"&gt;
          &lt;nav className="z-depth-0"&gt;Hello, {user.name} &lt;/nav&gt;
        &lt;/div&gt;
      );
    }
  }
  const mapStateToProps = state =&gt; ({
    auth: state.auth
  });
  export default connect(
    mapStateToProps
  )(Navbar);
  </code></pre>
  
  <p>And my story <code>2-Navbar.stories.js</code>:</p>
  
  <pre><code>import React from 'react';
  import Provider from '../src/Provider.js'
  import configureStore from "../src/configureStore";
  import Navbar from '../src/components/layout/Navbar';
  
  export default {
    title: 'Navbar',
    decorators: [storyFn =&gt; &lt;Provider store={ configureStore }&gt;{storyFn()}&lt;/Provider&gt;]
  };
  
  export const Yay = () =&gt; &lt;Navbar /&gt;;
  
  </code></pre>
  
  <p>I want to use "mock" data to pass to my navbar (Like name and avatar url) because otherwise I have redux errors.</p>
  
  <p>Appreciate any help.</p>