From 1b6545fa653df44b019f6676faed39880999b2bf Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Mon, 21 Aug 2017 12:08:41 +0200 Subject: Add basic react-konva rendering prototype --- src/actions/simulations.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/actions/simulations.js') diff --git a/src/actions/simulations.js b/src/actions/simulations.js index ddfacaf0..926c67bc 100644 --- a/src/actions/simulations.js +++ b/src/actions/simulations.js @@ -5,7 +5,7 @@ export const ADD_SIMULATION = "ADD_SIMULATION"; export const ADD_SIMULATION_SUCCEEDED = "ADD_SIMULATION_SUCCEEDED"; export const DELETE_SIMULATION = "DELETE_SIMULATION"; export const DELETE_SIMULATION_SUCCEEDED = "DELETE_SIMULATION_SUCCEEDED"; -export const OPEN_SIMULATION = "OPEN_SIMULATION"; +export const OPEN_SIMULATION_SUCCEEDED = "OPEN_SIMULATION_SUCCEEDED"; export function setAuthVisibilityFilter(filter) { return { @@ -58,9 +58,9 @@ export function deleteSimulationSucceeded(id) { }; } -export function openSimulation(id) { +export function openSimulationSucceeded(id) { return { - type: OPEN_SIMULATION, + type: OPEN_SIMULATION_SUCCEEDED, id }; } -- cgit v1.2.3