diff --git a/keyserver/src/responders/website-responders.js b/keyserver/src/responders/website-responders.js --- a/keyserver/src/responders/website-responders.js +++ b/keyserver/src/responders/website-responders.js @@ -6,9 +6,6 @@ import _keyBy from 'lodash/fp/keyBy'; import * as React from 'react'; import ReactDOMServer from 'react-dom/server'; -import { Provider } from 'react-redux'; -import { Route, StaticRouter } from 'react-router'; -import { createStore, type Store } from 'redux'; import { promisify } from 'util'; import { daysToEntriesFromEntryInfos } from 'lib/reducers/entry-reducer'; @@ -31,8 +28,6 @@ import { currentDateInTimeZone } from 'lib/utils/date-utils'; import { ServerError } from 'lib/utils/errors'; import { promiseAll } from 'lib/utils/promises'; -import { reducer } from 'web/redux/redux-setup'; -import type { AppState, Action } from 'web/redux/redux-setup'; import getTitle from 'web/title/getTitle'; import { navInfoFromURL } from 'web/url-utils'; @@ -131,7 +126,7 @@ const baseURL = basePath.replace(/\/$/, ''); const baseHref = baseDomain + baseURL; - const appPromise = getWebpackCompiledRootComponentForSSR(); + const loadingPromise = getWebpackCompiledRootComponentForSSR(); let initialNavInfo; try { @@ -303,7 +298,18 @@