You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
404 B

const Immutable = require('immutable');
import * as TitlebarActions from '../../actions/board/titlebar.actions';
const initial = '';
const reducer = (state = initial, action) => {
if (action.type !== TitlebarActions.TITLEBAR_ACTION) {
return state;
}
if (action.action === TitlebarActions.UPDATE) {
return action.text;
}
return state;
};
export default reducer;