diff --git a/ui/component/router/view.jsx b/ui/component/router/view.jsx
index bd6d48a79..6af27ffea 100644
--- a/ui/component/router/view.jsx
+++ b/ui/component/router/view.jsx
@@ -305,124 +305,114 @@ function AppRouter(props: Props) {
return (
}>
- {categoryPages.length && (
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
- {(!wildWestDisabled || tagParams) && }
- {categoryPages}
+ {(!wildWestDisabled || tagParams) && }
+ {categoryPages}
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
- : EmbedWrapperPage}
- />
-
+ : EmbedWrapperPage}
+ />
+
- {/* Below need to go at the end to make sure we don't match any of our pages first */}
- }
- />
- }
- />
- } />
- } />
-
-
- )}
+ {/* Below need to go at the end to make sure we don't match any of our pages first */}
+ } />
+ } />
+ } />
+ } />
+
+
);
}
diff --git a/ui/page/show/index.js b/ui/page/show/index.js
index 8959b78f2..8f36ab355 100644
--- a/ui/page/show/index.js
+++ b/ui/page/show/index.js
@@ -13,7 +13,7 @@ import {
makeSelectUrlsForCollectionId,
makeSelectIsResolvingCollectionForId,
} from 'redux/selectors/collections';
-import { selectUserVerifiedEmail } from 'redux/selectors/user';
+import { selectHomepageFetched, selectUserVerifiedEmail } from 'redux/selectors/user';
import { doResolveUri, doFetchLatestClaimForChannel } from 'redux/actions/claims';
import { doBeginPublish } from 'redux/actions/publish';
import { doOpenModal } from 'redux/actions/app';
@@ -60,6 +60,7 @@ const select = (state, props) => {
isResolvingCollection: makeSelectIsResolvingCollectionForId(collectionId)(state),
isAuthenticated: selectUserVerifiedEmail(state),
geoRestriction: selectGeoRestrictionForUri(state, uri),
+ homepageFetched: selectHomepageFetched(state),
};
};
diff --git a/ui/page/show/view.jsx b/ui/page/show/view.jsx
index b94a6e2bd..33f79cd3a 100644
--- a/ui/page/show/view.jsx
+++ b/ui/page/show/view.jsx
@@ -38,6 +38,7 @@ type Props = {
isResolvingCollection: boolean,
isAuthenticated: boolean,
geoRestriction: ?GeoRestriction,
+ homepageFetched: boolean,
latestContentPath?: boolean,
liveContentPath?: boolean,
latestClaimUrl: ?string,
@@ -66,6 +67,7 @@ export default function ShowPage(props: Props) {
isResolvingCollection,
isAuthenticated,
geoRestriction,
+ homepageFetched,
latestContentPath,
liveContentPath,
latestClaimUrl,
@@ -205,6 +207,9 @@ export default function ShowPage(props: Props) {
}
if (!claim || !claim.name) {
+ const maybeIsCategoryPage = pathname.startsWith('/$/');
+ const waitingForCategory = maybeIsCategoryPage && !homepageFetched;
+
return (
{(haventFetchedYet ||
@@ -217,7 +222,7 @@ export default function ShowPage(props: Props) {
)}
- {!isResolvingUri && !isSubscribed && !shouldResolveUri && (
+ {!isResolvingUri && !isSubscribed && !shouldResolveUri && !waitingForCategory && (