Skip to content

Commit 70c2186

Browse files
committed
format
1 parent dc4221f commit 70c2186

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/javascripts/oxalis/view/right-border-tabs/trees_tab/tree_hierarchy_view.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { DownOutlined } from "@ant-design/icons";
22
import { type Tree as AntdTree, type GetRef, type MenuProps, Modal, type TreeProps } from "antd";
3-
import _ from "lodash";
43
import * as Utils from "libs/utils";
4+
import _ from "lodash";
55
import { mapGroups } from "oxalis/model/accessors/skeletontracing_accessor";
66
import {
77
setTreeGroupAction,
@@ -218,7 +218,7 @@ function TreeHierarchyView(props: Props) {
218218
const parentGroupId =
219219
dragTargetNode.type === GroupTypeEnum.GROUP
220220
? dragTargetNode.id
221-
: props.trees[dragTargetNode.id].groupId ?? MISSING_GROUP_ID;
221+
: (props.trees[dragTargetNode.id].groupId ?? MISSING_GROUP_ID);
222222

223223
let updatedTreeGroups: TreeGroup[] = props.treeGroups;
224224
if (draggedNode.type === GroupTypeEnum.TREE) {

0 commit comments

Comments
 (0)