From 8aa174e70c01631ae4e00a6d208966fcd77cf972 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Fri, 10 Jul 2020 10:21:46 +0200 Subject: Add implementation of portfolio and scenario UI structure --- frontend/src/actions/experiments.js | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 frontend/src/actions/experiments.js (limited to 'frontend/src/actions/experiments.js') diff --git a/frontend/src/actions/experiments.js b/frontend/src/actions/experiments.js deleted file mode 100644 index dce48a09..00000000 --- a/frontend/src/actions/experiments.js +++ /dev/null @@ -1,33 +0,0 @@ -export const FETCH_EXPERIMENTS_OF_PROJECT = 'FETCH_EXPERIMENTS_OF_PROJECT' -export const ADD_EXPERIMENT = 'ADD_EXPERIMENT' -export const DELETE_EXPERIMENT = 'DELETE_EXPERIMENT' -export const OPEN_EXPERIMENT_SUCCEEDED = 'OPEN_EXPERIMENT_SUCCEEDED' - -export function fetchExperimentsOfProject(projectId) { - return { - type: FETCH_EXPERIMENTS_OF_PROJECT, - projectId, - } -} - -export function addExperiment(experiment) { - return { - type: ADD_EXPERIMENT, - experiment, - } -} - -export function deleteExperiment(id) { - return { - type: DELETE_EXPERIMENT, - id, - } -} - -export function openExperimentSucceeded(projectId, experimentId) { - return { - type: OPEN_EXPERIMENT_SUCCEEDED, - projectId, - experimentId, - } -} -- cgit v1.2.3