xcv58/Tab-Manager-v2

View on GitHub
packages/extension/src/js/components/Window/index.tsx

Summary

Maintainability
A
0 mins
Test Coverage

Showing 0 of 1 total issue

Similar blocks of code found in 2 locations. Consider refactoring.
Invalid

const [dropProps, drop] = useDrop({
accept: ItemTypes.TAB,
canDrop: () => win.canDrop,
drop: (_, monitor) => {
if (monitor.didDrop()) {
Severity: Major
Found in packages/extension/src/js/components/Window/index.tsx and 1 other location - About 6 hrs to fix
packages/extension/src/js/components/Window/DroppableTitle.tsx on lines 14..33

There are no issues that match your filters.

Category
Status