diff --git a/client/src/actions/index.js b/client/src/actions/index.js index 35bf49f1..2f1ddf3b 100644 --- a/client/src/actions/index.js +++ b/client/src/actions/index.js @@ -180,7 +180,10 @@ const requestUserDefinedGene = gene => async (dispatch, getState) => { /* then send the success case action through */ return dispatch({ type: "request user defined gene success", - data + data: { + genes: [gene], + expression: data[gene] + } }); } catch (error) { return dispatch({