mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-27 09:18:12 +08:00
run prettier(2.0.5) (#1438)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const GraphSelection = (
|
||||
state = {
|
||||
tool: "lasso", // what selection tool mode (lasso, brush, ...)
|
||||
selection: { mode: "all" } // current selection, which is tool specific
|
||||
selection: { mode: "all" }, // current selection, which is tool specific
|
||||
},
|
||||
action
|
||||
) => {
|
||||
@@ -12,8 +12,8 @@ const GraphSelection = (
|
||||
return {
|
||||
...state,
|
||||
selection: {
|
||||
mode: "all"
|
||||
}
|
||||
mode: "all",
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,8 +24,8 @@ const GraphSelection = (
|
||||
...state,
|
||||
selection: {
|
||||
mode: "within-rect",
|
||||
brushCoords
|
||||
}
|
||||
brushCoords,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,8 +35,8 @@ const GraphSelection = (
|
||||
...state,
|
||||
selection: {
|
||||
mode: "within-polygon",
|
||||
polygon
|
||||
}
|
||||
polygon,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -47,8 +47,8 @@ const GraphSelection = (
|
||||
return {
|
||||
...state,
|
||||
selection: {
|
||||
mode: "all"
|
||||
}
|
||||
mode: "all",
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user