fix: build issues

This commit is contained in:
sriram veeraghanta 2024-03-06 19:52:40 +05:30
parent 66f2492e60
commit f188c9fdc5
30 changed files with 48 additions and 230 deletions

View file

@ -240,7 +240,7 @@ export const CreateProjectModal: FC<Props> = observer((props) => {
<ProjectLogo logo={value} className="text-xl" />
</span>
}
onChange={(val) => {
onChange={(val: any) => {
let logoValue = {};
if (val.type === "emoji")

View file

@ -9,6 +9,7 @@ import { useEventTracker, useProject } from "hooks/store";
// ui
// types
import type { IProject } from "@plane/types";
import { PROJECT_DELETED } from "constants/event-tracker";
// constants
type DeleteProjectModal = {

View file

@ -1,6 +1,7 @@
import React from "react";
import Image from "next/image";
import { useRouter } from "next/router";
import useSWR, { mutate } from "swr";
// ui
import { TOAST_TYPE, setToast } from "@plane/ui";
// components
@ -12,6 +13,8 @@ import GithubLogo from "public/logos/github-square.png";
import SlackLogo from "public/services/slack.png";
// types
import { IWorkspaceIntegration } from "@plane/types";
// services
import { ProjectService } from "services/project";
type Props = {
integration: IWorkspaceIntegration;

View file

@ -9,6 +9,9 @@ import { ChevronDown, Plus, X } from "lucide-react";
import { Avatar, Button, CustomSelect, CustomSearchSelect, TOAST_TYPE, setToast } from "@plane/ui";
// helpers
import { useEventTracker, useMember, useUser } from "hooks/store";
import { EUserProjectRoles } from "constants/project";
import { PROJECT_MEMBER_ADDED } from "constants/event-tracker";
import { ROLE } from "constants/workspace";
// constants
type Props = {