From 19033b8460cb43dc2fa34a2cffa932b5efe111ca Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Sat, 19 Aug 2017 15:39:58 +0200 Subject: Add profile page --- src/reducers/simulations.js | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/reducers/simulations.js') diff --git a/src/reducers/simulations.js b/src/reducers/simulations.js index 9d830877..7d0b9d66 100644 --- a/src/reducers/simulations.js +++ b/src/reducers/simulations.js @@ -1,8 +1,6 @@ import { ADD_SIMULATION_SUCCEEDED, - CLOSE_NEW_SIMULATION_MODAL, DELETE_SIMULATION_SUCCEEDED, - OPEN_NEW_SIMULATION_MODAL, SET_AUTH_VISIBILITY_FILTER } from "../actions/simulations"; import {FETCH_AUTHORIZATIONS_OF_CURRENT_USER_SUCCEEDED} from "../actions/users"; @@ -23,17 +21,6 @@ export function authorizationsOfCurrentUser(state = [], action) { } } -export function newSimulationModalVisible(state = false, action) { - switch (action.type) { - case OPEN_NEW_SIMULATION_MODAL: - return true; - case CLOSE_NEW_SIMULATION_MODAL: - return false; - default: - return state; - } -} - export function authVisibilityFilter(state = "SHOW_ALL", action) { switch (action.type) { case SET_AUTH_VISIBILITY_FILTER: -- cgit v1.2.3