feat(Flash): Add render methods that do not dump flash autom

query from the front end app for these messages
This commit is contained in:
Berkeley Martinez
2018-01-09 17:12:58 -08:00
parent 0af881a177
commit 387eafbf33
6 changed files with 27 additions and 27 deletions

View File

@@ -8,7 +8,6 @@ import sendPageAnalytics from './utils/send-page-analytics';
import { App, createApp, provideStore } from '../common/app';
import { getLangFromPath } from '../common/app/utils/lang';
import flashReducer, { messagesFoundOnBoot } from '../common/app/Flash/redux';
// client specific epics
import epics from './epics';
@@ -29,7 +28,6 @@ const {
document,
ga,
__fcc__: {
flash = {},
data: ssrState = {},
csrf: {
token: csrfToken
@@ -51,10 +49,6 @@ const defaultState = isColdStored() ?
const primaryLang = getLangFromPath(location.pathname);
defaultState.app.csrfToken = csrfToken;
defaultState.flash = flashReducer(
defaultState.flash,
messagesFoundOnBoot(flash)
);
const serviceOptions = { xhrPath: '/services', context: { _csrf: csrfToken } };