New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dnd component #324
Dnd component #324
Conversation
@@ -22,6 +22,9 @@ | |||
linkAlignment as defaultLinkAlignment, | |||
showLoginControl as defaultShowLoginControl, | |||
} from "../defaults"; | |||
import { v4 as uuidv4 } from "uuid"; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
@@ -30,6 +33,11 @@ | |||
|
|||
export default function AdminWidget({ settings, onChange }: AdminWidgetProps) { | |||
const [links, setLinks] = useState(settings.links || []); | |||
console.log("links", links); | |||
|
|||
const [updatedLinks, setUpdatedLinks] = useState<any>([]); |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
@@ -0,0 +1,155 @@ | |||
import React, { Key, useEffect } from "react"; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
onChange: any; | ||
Renderer: any; | ||
}) => { | ||
const [activeId, setActiveId] = useState(null); |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
No description provided.