board1 panels are swappable using react-dnd #55
Annotations
10 warnings
Run Eslint:
src/apps/boards/pages/Board1.tsx#L25
Replace `·id,·index,·swapPanels,·children·` with `⏎··id,⏎··index,⏎··swapPanels,⏎··children,⏎`
|
Run Eslint:
src/apps/boards/pages/Board1.tsx#L26
Replace `DragItem,·void,·{·isDragging:·boolean·}` with `⏎····DragItem,⏎····void,⏎····{·isDragging:·boolean·}⏎··`
|
|
|
|
Run Eslint:
src/apps/boards/pages/Board1.tsx#L67
Replace `(isDraggable){` with `·(isDraggable)·{⏎·······`
|
Run Eslint:
src/apps/boards/pages/Board1.tsx#L68
Replace `[updated[fromIndex],·updated[toIndex]]·=·[updated[toIndex],·updated[fromIndex]];` with `;[updated[fromIndex],·updated[toIndex]]·=·[⏎··········updated[toIndex],⏎··········updated[fromIndex],⏎········]`
|
|
Run Eslint:
src/apps/boards/pages/Board1.tsx#L79
Insert `⏎······{'·'}⏎·····`
|
Run Eslint:
src/apps/boards/pages/Board1.tsx#L80
Replace `·className={`dragToggle·${isDraggable·?·'active'·:·'inactive'}`}·onClick={()·=>·toggleDrag(!isDraggable)}` with `⏎········className={`dragToggle·${isDraggable·?·'active'·:·'inactive'}`}⏎········onClick={()·=>·toggleDrag(!isDraggable)}⏎······`
|
Loading