UNPKG

meme-magic

Version:

An A-Frame, React, Redux front-end with Sessions, Websockets, SQL, and Authentication built into the backend.

12 lines (10 loc) 290 B
import { CHANGE_MODE } from '../../constants'; import initialState from '../../initialState'; export default (state = initialState, action) => { switch (action.type) { case CHANGE_MODE: return state.merge({ isAFrame: true }); default: return state; } };