fix logic inversion on regraph

This commit is contained in:
bkmartinjr
2018-05-29 21:38:47 -07:00
parent 67e65e7535
commit 9c2870e995
+2 -2
View File
@@ -57,9 +57,9 @@ const regraph = () => {
dispatch(requestCells(uri.search())).then(res => {
if (res.error) {
dispatch({ type: "regraph success" });
} else {
dispatch({ type: "regraph error" });
} else {
dispatch({ type: "regraph success" });
}
});
};