mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 23:58:31 -06:00
day of linting judgement
This commit is contained in:
@@ -9,7 +9,7 @@ export const NavTabListItem: FC<{
|
||||
onDragStart: () => void;
|
||||
onDragOver: (e: React.DragEvent) => void;
|
||||
onDrop: () => void;
|
||||
}> = ({ tab, idx, onDragStart, onDragOver, onDrop }) => {
|
||||
}> = ({ tab, onDragStart, onDrop }) => {
|
||||
const updateTab = useUpdateCanvasTabMutation();
|
||||
const [isDragOver, setIsDragOver] = React.useState(false);
|
||||
const handleToggleVisibility = () => {
|
||||
@@ -32,7 +32,7 @@ export const NavTabListItem: FC<{
|
||||
setIsDragOver(true);
|
||||
}}
|
||||
onDragLeave={() => setIsDragOver(false)}
|
||||
onDrop={(e) => {
|
||||
onDrop={() => {
|
||||
setIsDragOver(false);
|
||||
onDrop();
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user