|
@@ -112,7 +112,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
|
|
|
|
|
|
|
|
|
|
|
|
|
const [{ isDragging }, drag] = useDrag(() => ({
|
|
const [{ isDragging }, drag] = useDrag(() => ({
|
|
|
- type: 'DND_GROUP',
|
|
|
|
|
|
|
+ type: 'PAGE_TREE',
|
|
|
item: { page },
|
|
item: { page },
|
|
|
collect: monitor => ({
|
|
collect: monitor => ({
|
|
|
isDragging: !!monitor.isDragging(),
|
|
isDragging: !!monitor.isDragging(),
|
|
@@ -218,7 +218,6 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
{isEnableActions && (
|
|
{isEnableActions && (
|
|
|
<ClosableTextInput
|
|
<ClosableTextInput
|
|
|
isShown={isNewPageInputShown}
|
|
isShown={isNewPageInputShown}
|