diff --git a/src/components/shared/WindowTitle.js b/src/components/shared/WindowTitle.js index b3acf781ff3..d4b1bb35b73 100644 --- a/src/components/shared/WindowTitle.js +++ b/src/components/shared/WindowTitle.js @@ -19,7 +19,7 @@ import type { ConnectedProps } from '../../utils/connect'; type StateProps = {| +profile: Profile, - +profileName: string | null, + +profileName: string, +dataSource: string, |}; diff --git a/src/selectors/url-state.js b/src/selectors/url-state.js index 57152e0f8c7..f5723f0631f 100644 --- a/src/selectors/url-state.js +++ b/src/selectors/url-state.js @@ -243,7 +243,7 @@ export const getPathInZipFileFromUrl: Selector = state => /** * For now only provide a name for a profile if it came from a zip file. */ -export const getProfileName: Selector = createSelector( +export const getProfileName: Selector = createSelector( getProfileNameFromUrl, getPathInZipFileFromUrl, (profileName, pathInZipFile) => {