@@ -115,6 +115,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
type: 'DND_GROUP',
item: { page },
}));
+
const hasChildren = useCallback((): boolean => {
return currentChildren != null && currentChildren.length > 0;
}, [currentChildren]);