fix add gene action format bug (#398)

This commit is contained in:
Bruce Martin
2018-11-01 14:24:49 -07:00
committed by GitHub
parent 9d7754e31e
commit 6e46a65c32

View File

@@ -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({