messageInitialState.js
392 Bytes
/**
* # guideInitialState.js
*
*
*/
'use strict';
/**
* ## Import immutable record
*/
import {Record, List} from 'immutable';
/**
* ## InitialState
*
* The fields we're concerned with
*/
let InitialState = Record({
isFetching: false,
error: null,
messageDetail: new (Record({
title: '',
content: '',
time: '',
})),
messageList: List(),
});
export default InitialState;