basic notification modal

This commit is contained in:
egradanin
2019-01-16 22:06:06 +01:00
parent 2945ca8b70
commit 152dae91d7
7 changed files with 96 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
import { MODAL_CLOSE, MODAL_OPEN } from "constants/actionTypes";
export default (state = false, action) => {
switch (action.type) {
case MODAL_CLOSE:
return false;
case MODAL_OPEN:
return true;
default:
return state;
}
};