From de8f12d74faef5fa3f9e38d1340948cab2d06ea3 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 1 Jul 2020 13:33:31 +0200 Subject: Manually generate IDs --- frontend/src/actions/modals/simulations.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'frontend/src/actions/modals/simulations.js') diff --git a/frontend/src/actions/modals/simulations.js b/frontend/src/actions/modals/simulations.js index b11d356c..0ef1cbaa 100644 --- a/frontend/src/actions/modals/simulations.js +++ b/frontend/src/actions/modals/simulations.js @@ -1,14 +1,14 @@ -export const OPEN_NEW_SIMULATION_MODAL = "OPEN_NEW_SIMULATION_MODAL"; -export const CLOSE_NEW_SIMULATION_MODAL = "CLOSE_SIMULATION_MODAL"; +export const OPEN_NEW_SIMULATION_MODAL = 'OPEN_NEW_SIMULATION_MODAL' +export const CLOSE_NEW_SIMULATION_MODAL = 'CLOSE_SIMULATION_MODAL' export function openNewSimulationModal() { - return { - type: OPEN_NEW_SIMULATION_MODAL - }; + return { + type: OPEN_NEW_SIMULATION_MODAL, + } } export function closeNewSimulationModal() { - return { - type: CLOSE_NEW_SIMULATION_MODAL - }; + return { + type: CLOSE_NEW_SIMULATION_MODAL, + } } -- cgit v1.2.3