refactor: removed unused packages (#2658)

This commit is contained in:
Aaryan Khandelwal 2023-11-06 13:17:02 +05:30 committed by GitHub
parent bf48d93a25
commit 3a07bb6060
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 16 additions and 3068 deletions

View file

@ -3,7 +3,7 @@ import { useRouter } from "next/router";
import Link from "next/link";
import { mutate } from "swr";
import { useForm } from "react-hook-form";
import { Draggable } from "react-beautiful-dnd";
import { Draggable } from "@hello-pangea/dnd";
// services
import { PageService } from "services/page.service";
import { IssueService } from "services/issue/issue.service";
@ -64,7 +64,7 @@ export const SinglePageBlock: React.FC<Props> = ({ block, projectDetails, showBl
},
});
const editorSuggestion = useEditorSuggestions(workspaceSlug as string | undefined, projectId as string | undefined)
const editorSuggestion = useEditorSuggestions(workspaceSlug as string | undefined, projectId as string | undefined);
const updatePageBlock = async (formData: Partial<IPageBlock>) => {
if (!workspaceSlug || !projectId || !pageId) return;