diff --git a/app/components/Layout/Layout.js b/app/components/Layout/Layout.js index 2a5d34b31..25f11ec86 100644 --- a/app/components/Layout/Layout.js +++ b/app/components/Layout/Layout.js @@ -1,6 +1,7 @@ // @flow import React from 'react'; import { withRouter } from 'react-router-dom'; +import type { Location } from 'react-router-dom'; import { Helmet } from 'react-helmet'; import styled from 'styled-components'; import { observer, inject } from 'mobx-react'; @@ -30,6 +31,7 @@ import DocumentsStore from 'stores/DocumentsStore'; type Props = { history: Object, + location: Location, collections: CollectionsStore, documents: DocumentsStore, children?: ?React.Element, @@ -139,6 +141,7 @@ type Props = {