Skip to content
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

Merged
merged 5 commits into from May 17, 2024
Merged

Dnd component #324

merged 5 commits into from May 17, 2024

Conversation

RaviRajput10
Copy link
Collaborator

No description provided.

@@ -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

Unused import uuidv4.
@@ -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

Unused variable setUpdatedLinks.
@@ -0,0 +1,155 @@
import React, { Key, useEffect } from "react";

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused import Key.
onChange: any;
Renderer: any;
}) => {
const [activeId, setActiveId] = useState(null);

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable activeId.
@rajat1saxena rajat1saxena changed the title WIP: dnd component Dnd component May 17, 2024
@rajat1saxena rajat1saxena merged commit 19be687 into main May 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants