diff --git a/apps/admin/app/(all)/(dashboard)/ai/form.tsx b/apps/admin/app/(all)/(dashboard)/ai/form.tsx index a9ee4ebac..568289033 100644 --- a/apps/admin/app/(all)/(dashboard)/ai/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/ai/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useForm } from "react-hook-form"; import { Lightbulb } from "lucide-react"; import { Button } from "@plane/propel/button"; diff --git a/apps/admin/app/(all)/(dashboard)/ai/page.tsx b/apps/admin/app/(all)/(dashboard)/ai/page.tsx index 16b50e209..ebdf40528 100644 --- a/apps/admin/app/(all)/(dashboard)/ai/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/ai/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import useSWR from "swr"; import { Loader } from "@plane/ui"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/gitea/form.tsx b/apps/admin/app/(all)/(dashboard)/authentication/gitea/form.tsx index 395f0e27b..15b97b588 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/gitea/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/gitea/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { isEmpty } from "lodash-es"; import Link from "next/link"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/gitea/page.tsx b/apps/admin/app/(all)/(dashboard)/authentication/gitea/page.tsx index 260e82ab1..1838cd5b8 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/gitea/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/gitea/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/github/form.tsx b/apps/admin/app/(all)/(dashboard)/authentication/github/form.tsx index fb0a1b7bb..a93ffdb9e 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/github/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/github/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { isEmpty } from "lodash-es"; import Link from "next/link"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/github/page.tsx b/apps/admin/app/(all)/(dashboard)/authentication/github/page.tsx index 94c2bdbc0..4fe3c4611 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/github/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/github/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/gitlab/page.tsx b/apps/admin/app/(all)/(dashboard)/authentication/gitlab/page.tsx index a8175c46d..ba421e04c 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/gitlab/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/gitlab/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/google/form.tsx b/apps/admin/app/(all)/(dashboard)/authentication/google/form.tsx index 4d5bcbbae..f8cda5c0b 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/google/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/google/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { isEmpty } from "lodash-es"; import Link from "next/link"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/google/page.tsx b/apps/admin/app/(all)/(dashboard)/authentication/google/page.tsx index 146239067..c99c59787 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/google/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/google/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/app/(all)/(dashboard)/authentication/page.tsx b/apps/admin/app/(all)/(dashboard)/authentication/page.tsx index dfcce21e5..c4bdb727b 100644 --- a/apps/admin/app/(all)/(dashboard)/authentication/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/authentication/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/app/(all)/(dashboard)/email/email-config-form.tsx b/apps/admin/app/(all)/(dashboard)/email/email-config-form.tsx index 17f4173e9..422527658 100644 --- a/apps/admin/app/(all)/(dashboard)/email/email-config-form.tsx +++ b/apps/admin/app/(all)/(dashboard)/email/email-config-form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { useForm } from "react-hook-form"; // types diff --git a/apps/admin/app/(all)/(dashboard)/email/page.tsx b/apps/admin/app/(all)/(dashboard)/email/page.tsx index 6e8e96cc7..869636b6a 100644 --- a/apps/admin/app/(all)/(dashboard)/email/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/email/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/app/(all)/(dashboard)/general/form.tsx b/apps/admin/app/(all)/(dashboard)/general/form.tsx index ccd520326..db663f777 100644 --- a/apps/admin/app/(all)/(dashboard)/general/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/general/form.tsx @@ -1,4 +1,3 @@ -"use client"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; import { Telescope } from "lucide-react"; diff --git a/apps/admin/app/(all)/(dashboard)/general/intercom.tsx b/apps/admin/app/(all)/(dashboard)/general/intercom.tsx index 94bb310ff..a7659f425 100644 --- a/apps/admin/app/(all)/(dashboard)/general/intercom.tsx +++ b/apps/admin/app/(all)/(dashboard)/general/intercom.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/app/(all)/(dashboard)/general/page.tsx b/apps/admin/app/(all)/(dashboard)/general/page.tsx index 4531da1e2..5a70e30aa 100644 --- a/apps/admin/app/(all)/(dashboard)/general/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/general/page.tsx @@ -1,4 +1,3 @@ -"use client"; import { observer } from "mobx-react"; // hooks import { useInstance } from "@/hooks/store"; diff --git a/apps/admin/app/(all)/(dashboard)/header.tsx b/apps/admin/app/(all)/(dashboard)/header.tsx index 131640a0d..c2ccc6358 100644 --- a/apps/admin/app/(all)/(dashboard)/header.tsx +++ b/apps/admin/app/(all)/(dashboard)/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; import { Menu, Settings } from "lucide-react"; diff --git a/apps/admin/app/(all)/(dashboard)/image/form.tsx b/apps/admin/app/(all)/(dashboard)/image/form.tsx index a77c62b40..9227a5ba9 100644 --- a/apps/admin/app/(all)/(dashboard)/image/form.tsx +++ b/apps/admin/app/(all)/(dashboard)/image/form.tsx @@ -1,4 +1,3 @@ -"use client"; import { useForm } from "react-hook-form"; import { Button } from "@plane/propel/button"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; diff --git a/apps/admin/app/(all)/(dashboard)/image/page.tsx b/apps/admin/app/(all)/(dashboard)/image/page.tsx index 50eefdb0c..57dd3a0fd 100644 --- a/apps/admin/app/(all)/(dashboard)/image/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/image/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import useSWR from "swr"; import { Loader } from "@plane/ui"; diff --git a/apps/admin/app/(all)/(dashboard)/layout.tsx b/apps/admin/app/(all)/(dashboard)/layout.tsx index 61ee7cdbd..b0a766d2f 100644 --- a/apps/admin/app/(all)/(dashboard)/layout.tsx +++ b/apps/admin/app/(all)/(dashboard)/layout.tsx @@ -1,4 +1,3 @@ -"use client"; import { useEffect } from "react"; import { observer } from "mobx-react"; import { useRouter } from "next/navigation"; diff --git a/apps/admin/app/(all)/(dashboard)/sidebar-dropdown.tsx b/apps/admin/app/(all)/(dashboard)/sidebar-dropdown.tsx index 81b94cbef..f2458f869 100644 --- a/apps/admin/app/(all)/(dashboard)/sidebar-dropdown.tsx +++ b/apps/admin/app/(all)/(dashboard)/sidebar-dropdown.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Fragment, useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useTheme as useNextTheme } from "next-themes"; diff --git a/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx b/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx index f421ec34a..06b9763d4 100644 --- a/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx +++ b/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState, useRef } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/admin/app/(all)/(dashboard)/sidebar-menu.tsx b/apps/admin/app/(all)/(dashboard)/sidebar-menu.tsx index 0442a66c5..4fe17e0bf 100644 --- a/apps/admin/app/(all)/(dashboard)/sidebar-menu.tsx +++ b/apps/admin/app/(all)/(dashboard)/sidebar-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; diff --git a/apps/admin/app/(all)/(dashboard)/sidebar.tsx b/apps/admin/app/(all)/(dashboard)/sidebar.tsx index 38d9930f7..7950879c1 100644 --- a/apps/admin/app/(all)/(dashboard)/sidebar.tsx +++ b/apps/admin/app/(all)/(dashboard)/sidebar.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef } from "react"; import { observer } from "mobx-react"; // plane helpers diff --git a/apps/admin/app/(all)/(dashboard)/workspace/create/page.tsx b/apps/admin/app/(all)/(dashboard)/workspace/create/page.tsx index 83ec216fe..fe3fc033a 100644 --- a/apps/admin/app/(all)/(dashboard)/workspace/create/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/workspace/create/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // components import type { Route } from "./+types/page"; diff --git a/apps/admin/app/(all)/(dashboard)/workspace/page.tsx b/apps/admin/app/(all)/(dashboard)/workspace/page.tsx index 723b7ffce..f5d8a678c 100644 --- a/apps/admin/app/(all)/(dashboard)/workspace/page.tsx +++ b/apps/admin/app/(all)/(dashboard)/workspace/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/admin/app/(all)/(home)/auth-header.tsx b/apps/admin/app/(all)/(home)/auth-header.tsx index f92c5be0f..ca2196eda 100644 --- a/apps/admin/app/(all)/(home)/auth-header.tsx +++ b/apps/admin/app/(all)/(home)/auth-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import Link from "next/link"; import { PlaneLockup } from "@plane/propel/icons"; diff --git a/apps/admin/app/(all)/(home)/layout.tsx b/apps/admin/app/(all)/(home)/layout.tsx index 97626e7e8..658088ff8 100644 --- a/apps/admin/app/(all)/(home)/layout.tsx +++ b/apps/admin/app/(all)/(home)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { observer } from "mobx-react"; import { useRouter } from "next/navigation"; diff --git a/apps/admin/app/(all)/(home)/page.tsx b/apps/admin/app/(all)/(home)/page.tsx index c5311a0a2..12f701c46 100644 --- a/apps/admin/app/(all)/(home)/page.tsx +++ b/apps/admin/app/(all)/(home)/page.tsx @@ -1,4 +1,3 @@ -"use client"; import { observer } from "mobx-react"; // components import { LogoSpinner } from "@/components/common/logo-spinner"; diff --git a/apps/admin/app/(all)/(home)/sign-in-form.tsx b/apps/admin/app/(all)/(home)/sign-in-form.tsx index 6c3fe0626..3d485ebce 100644 --- a/apps/admin/app/(all)/(home)/sign-in-form.tsx +++ b/apps/admin/app/(all)/(home)/sign-in-form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useMemo, useState } from "react"; import { useSearchParams } from "next/navigation"; import { Eye, EyeOff } from "lucide-react"; diff --git a/apps/admin/app/(all)/store.provider.tsx b/apps/admin/app/(all)/store.provider.tsx index 8df99e062..49e341b72 100644 --- a/apps/admin/app/(all)/store.provider.tsx +++ b/apps/admin/app/(all)/store.provider.tsx @@ -1,5 +1,3 @@ -"use client"; - import { createContext } from "react"; // plane admin store import { RootStore } from "@/plane-admin/store/root.store"; diff --git a/apps/admin/app/(all)/toast.tsx b/apps/admin/app/(all)/toast.tsx index 7e5849ab3..1e7e3a11e 100644 --- a/apps/admin/app/(all)/toast.tsx +++ b/apps/admin/app/(all)/toast.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useTheme } from "next-themes"; import { Toast } from "@plane/propel/toast"; import { resolveGeneralTheme } from "@plane/utils"; diff --git a/apps/admin/app/(all)/user.provider.tsx b/apps/admin/app/(all)/user.provider.tsx index 167104f38..04242abc9 100644 --- a/apps/admin/app/(all)/user.provider.tsx +++ b/apps/admin/app/(all)/user.provider.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/admin/app/compat/next/image.tsx b/apps/admin/app/compat/next/image.tsx index 6be0c536f..062638de4 100644 --- a/apps/admin/app/compat/next/image.tsx +++ b/apps/admin/app/compat/next/image.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; // Minimal shim so code using next/image compiles under React Router + Vite diff --git a/apps/admin/app/compat/next/link.tsx b/apps/admin/app/compat/next/link.tsx index 00ddf0ed5..b0bca4faf 100644 --- a/apps/admin/app/compat/next/link.tsx +++ b/apps/admin/app/compat/next/link.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; import { Link as RRLink } from "react-router"; import { ensureTrailingSlash } from "./helper"; diff --git a/apps/admin/app/compat/next/navigation.ts b/apps/admin/app/compat/next/navigation.ts index 27ee03340..e0e6e9025 100644 --- a/apps/admin/app/compat/next/navigation.ts +++ b/apps/admin/app/compat/next/navigation.ts @@ -1,5 +1,3 @@ -"use client"; - import { useMemo } from "react"; import { useLocation, useNavigate, useSearchParams as useSearchParamsRR } from "react-router"; import { ensureTrailingSlash } from "./helper"; diff --git a/apps/admin/app/providers.tsx b/apps/admin/app/providers.tsx index 841e4cf38..0406cec09 100644 --- a/apps/admin/app/providers.tsx +++ b/apps/admin/app/providers.tsx @@ -1,5 +1,3 @@ -"use client"; - import { ThemeProvider } from "next-themes"; import { SWRConfig } from "swr"; import { AppProgressBar } from "@/lib/b-progress"; diff --git a/apps/admin/ce/components/common/upgrade-button.tsx b/apps/admin/ce/components/common/upgrade-button.tsx index 063c1ad80..6ef0334e6 100644 --- a/apps/admin/ce/components/common/upgrade-button.tsx +++ b/apps/admin/ce/components/common/upgrade-button.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // icons import { SquareArrowOutUpRight } from "lucide-react"; diff --git a/apps/admin/core/components/authentication/authentication-method-card.tsx b/apps/admin/core/components/authentication/authentication-method-card.tsx index 88fa119f7..c512e24d1 100644 --- a/apps/admin/core/components/authentication/authentication-method-card.tsx +++ b/apps/admin/core/components/authentication/authentication-method-card.tsx @@ -1,5 +1,3 @@ -"use client"; - // helpers import { cn } from "@plane/utils"; diff --git a/apps/admin/core/components/authentication/email-config-switch.tsx b/apps/admin/core/components/authentication/email-config-switch.tsx index 46e0c9ec4..2a53eac12 100644 --- a/apps/admin/core/components/authentication/email-config-switch.tsx +++ b/apps/admin/core/components/authentication/email-config-switch.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; // hooks diff --git a/apps/admin/core/components/authentication/gitea-config.tsx b/apps/admin/core/components/authentication/gitea-config.tsx index 41775fe36..22019979e 100644 --- a/apps/admin/core/components/authentication/gitea-config.tsx +++ b/apps/admin/core/components/authentication/gitea-config.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/admin/core/components/authentication/github-config.tsx b/apps/admin/core/components/authentication/github-config.tsx index f164d8bc8..b2db3e086 100644 --- a/apps/admin/core/components/authentication/github-config.tsx +++ b/apps/admin/core/components/authentication/github-config.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/admin/core/components/authentication/gitlab-config.tsx b/apps/admin/core/components/authentication/gitlab-config.tsx index 1250a1348..7e6ee1ddb 100644 --- a/apps/admin/core/components/authentication/gitlab-config.tsx +++ b/apps/admin/core/components/authentication/gitlab-config.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import Link from "next/link"; // icons diff --git a/apps/admin/core/components/authentication/google-config.tsx b/apps/admin/core/components/authentication/google-config.tsx index 84bc31fc4..d31b38dda 100644 --- a/apps/admin/core/components/authentication/google-config.tsx +++ b/apps/admin/core/components/authentication/google-config.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import Link from "next/link"; // icons diff --git a/apps/admin/core/components/authentication/password-config-switch.tsx b/apps/admin/core/components/authentication/password-config-switch.tsx index cc375c790..bdc9c4920 100644 --- a/apps/admin/core/components/authentication/password-config-switch.tsx +++ b/apps/admin/core/components/authentication/password-config-switch.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; // hooks diff --git a/apps/admin/core/components/common/breadcrumb-link.tsx b/apps/admin/core/components/common/breadcrumb-link.tsx index 7d83ac749..aa647e220 100644 --- a/apps/admin/core/components/common/breadcrumb-link.tsx +++ b/apps/admin/core/components/common/breadcrumb-link.tsx @@ -1,5 +1,3 @@ -"use client"; - import Link from "next/link"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/admin/core/components/common/confirm-discard-modal.tsx b/apps/admin/core/components/common/confirm-discard-modal.tsx index bc2e27add..2761324f6 100644 --- a/apps/admin/core/components/common/confirm-discard-modal.tsx +++ b/apps/admin/core/components/common/confirm-discard-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import Link from "next/link"; // headless ui diff --git a/apps/admin/core/components/common/controller-input.tsx b/apps/admin/core/components/common/controller-input.tsx index ee5aef761..4d3534859 100644 --- a/apps/admin/core/components/common/controller-input.tsx +++ b/apps/admin/core/components/common/controller-input.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import type { Control } from "react-hook-form"; import { Controller } from "react-hook-form"; diff --git a/apps/admin/core/components/common/copy-field.tsx b/apps/admin/core/components/common/copy-field.tsx index e1f67adbb..484cf7454 100644 --- a/apps/admin/core/components/common/copy-field.tsx +++ b/apps/admin/core/components/common/copy-field.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // ui import { Copy } from "lucide-react"; diff --git a/apps/admin/core/components/common/empty-state.tsx b/apps/admin/core/components/common/empty-state.tsx index 91bd53a17..f69b04179 100644 --- a/apps/admin/core/components/common/empty-state.tsx +++ b/apps/admin/core/components/common/empty-state.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { Button } from "@plane/propel/button"; diff --git a/apps/admin/core/components/common/page-header.tsx b/apps/admin/core/components/common/page-header.tsx index f371131dc..f0845fab3 100644 --- a/apps/admin/core/components/common/page-header.tsx +++ b/apps/admin/core/components/common/page-header.tsx @@ -1,5 +1,3 @@ -"use client"; - type TPageHeader = { title?: string; description?: string; diff --git a/apps/admin/core/components/instance/failure.tsx b/apps/admin/core/components/instance/failure.tsx index f4ffc8f8d..e31633dc9 100644 --- a/apps/admin/core/components/instance/failure.tsx +++ b/apps/admin/core/components/instance/failure.tsx @@ -1,4 +1,3 @@ -"use client"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; import { Button } from "@plane/propel/button"; diff --git a/apps/admin/core/components/instance/form-header.tsx b/apps/admin/core/components/instance/form-header.tsx index a2e4155c0..ead66b963 100644 --- a/apps/admin/core/components/instance/form-header.tsx +++ b/apps/admin/core/components/instance/form-header.tsx @@ -1,5 +1,3 @@ -"use client"; - export function FormHeader({ heading, subHeading }: { heading: string; subHeading: string }) { return (
diff --git a/apps/admin/core/components/instance/instance-not-ready.tsx b/apps/admin/core/components/instance/instance-not-ready.tsx index 20f80060b..0473effcd 100644 --- a/apps/admin/core/components/instance/instance-not-ready.tsx +++ b/apps/admin/core/components/instance/instance-not-ready.tsx @@ -1,5 +1,3 @@ -"use client"; - import Link from "next/link"; import { Button } from "@plane/propel/button"; // assets diff --git a/apps/admin/core/components/instance/setup-form.tsx b/apps/admin/core/components/instance/setup-form.tsx index ab64a66c1..dc67b7c0d 100644 --- a/apps/admin/core/components/instance/setup-form.tsx +++ b/apps/admin/core/components/instance/setup-form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useMemo, useState } from "react"; import { useSearchParams } from "next/navigation"; // icons diff --git a/apps/admin/core/components/new-user-popup.tsx b/apps/admin/core/components/new-user-popup.tsx index 43562c93f..bd4c3ee46 100644 --- a/apps/admin/core/components/new-user-popup.tsx +++ b/apps/admin/core/components/new-user-popup.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import Link from "next/link"; import { useTheme as useNextTheme } from "next-themes"; diff --git a/apps/admin/core/lib/b-progress/AppProgressBar.tsx b/apps/admin/core/lib/b-progress/AppProgressBar.tsx index 915b19ff9..7ad93fc11 100644 --- a/apps/admin/core/lib/b-progress/AppProgressBar.tsx +++ b/apps/admin/core/lib/b-progress/AppProgressBar.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef } from "react"; import { BProgress } from "@bprogress/core"; import { useNavigation } from "react-router"; diff --git a/apps/space/app/[workspaceSlug]/[projectId]/page.tsx b/apps/space/app/[workspaceSlug]/[projectId]/page.tsx index 40277ce9b..013e7f8c1 100644 --- a/apps/space/app/[workspaceSlug]/[projectId]/page.tsx +++ b/apps/space/app/[workspaceSlug]/[projectId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { redirect } from "react-router"; // plane imports import { SitesProjectPublishService } from "@plane/services"; diff --git a/apps/space/app/compat/next/image.tsx b/apps/space/app/compat/next/image.tsx index 6be0c536f..062638de4 100644 --- a/apps/space/app/compat/next/image.tsx +++ b/apps/space/app/compat/next/image.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; // Minimal shim so code using next/image compiles under React Router + Vite diff --git a/apps/space/app/compat/next/link.tsx b/apps/space/app/compat/next/link.tsx index 00ddf0ed5..b0bca4faf 100644 --- a/apps/space/app/compat/next/link.tsx +++ b/apps/space/app/compat/next/link.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; import { Link as RRLink } from "react-router"; import { ensureTrailingSlash } from "./helper"; diff --git a/apps/space/app/compat/next/navigation.ts b/apps/space/app/compat/next/navigation.ts index b5bec8d6c..a825b1e65 100644 --- a/apps/space/app/compat/next/navigation.ts +++ b/apps/space/app/compat/next/navigation.ts @@ -1,5 +1,3 @@ -"use client"; - import { useMemo } from "react"; import { useLocation, useNavigate, useParams as useParamsRR, useSearchParams as useSearchParamsRR } from "react-router"; import { ensureTrailingSlash } from "./helper"; diff --git a/apps/space/app/error.tsx b/apps/space/app/error.tsx index ef907d233..2330b9033 100644 --- a/apps/space/app/error.tsx +++ b/apps/space/app/error.tsx @@ -1,4 +1,3 @@ -"use client"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/space/app/issues/[anchor]/page.tsx b/apps/space/app/issues/[anchor]/page.tsx index 04b8c3089..32cdcad86 100644 --- a/apps/space/app/issues/[anchor]/page.tsx +++ b/apps/space/app/issues/[anchor]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams, useSearchParams } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/space/app/not-found.tsx b/apps/space/app/not-found.tsx index 36dc848be..9fcfd8a74 100644 --- a/apps/space/app/not-found.tsx +++ b/apps/space/app/not-found.tsx @@ -1,4 +1,3 @@ -"use client"; // assets import SomethingWentWrongImage from "@/app/assets/something-went-wrong.svg?url"; diff --git a/apps/space/app/page.tsx b/apps/space/app/page.tsx index d17632b32..9931cb2fe 100644 --- a/apps/space/app/page.tsx +++ b/apps/space/app/page.tsx @@ -1,4 +1,3 @@ -"use client"; import { useEffect } from "react"; import { observer } from "mobx-react"; import { useSearchParams, useRouter } from "next/navigation"; diff --git a/apps/space/app/providers.tsx b/apps/space/app/providers.tsx index 44093d26f..981270cc3 100644 --- a/apps/space/app/providers.tsx +++ b/apps/space/app/providers.tsx @@ -1,5 +1,3 @@ -"use client"; - import { ThemeProvider } from "next-themes"; // components import { TranslationProvider } from "@plane/i18n"; diff --git a/apps/space/core/components/account/auth-forms/auth-banner.tsx b/apps/space/core/components/account/auth-forms/auth-banner.tsx index 6f14a0eec..3ad6e775c 100644 --- a/apps/space/core/components/account/auth-forms/auth-banner.tsx +++ b/apps/space/core/components/account/auth-forms/auth-banner.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Info } from "lucide-react"; import { CloseIcon } from "@plane/propel/icons"; // helpers diff --git a/apps/space/core/components/account/auth-forms/auth-header.tsx b/apps/space/core/components/account/auth-forms/auth-header.tsx index 0be74a77f..9b0c95c3e 100644 --- a/apps/space/core/components/account/auth-forms/auth-header.tsx +++ b/apps/space/core/components/account/auth-forms/auth-header.tsx @@ -1,5 +1,3 @@ -"use client"; - // helpers import { EAuthModes } from "@/types/auth"; diff --git a/apps/space/core/components/account/auth-forms/auth-root.tsx b/apps/space/core/components/account/auth-forms/auth-root.tsx index 0fb41de65..0308471ec 100644 --- a/apps/space/core/components/account/auth-forms/auth-root.tsx +++ b/apps/space/core/components/account/auth-forms/auth-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; diff --git a/apps/space/core/components/account/auth-forms/email.tsx b/apps/space/core/components/account/auth-forms/email.tsx index 69f058462..9ed44db83 100644 --- a/apps/space/core/components/account/auth-forms/email.tsx +++ b/apps/space/core/components/account/auth-forms/email.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FormEvent } from "react"; import { useMemo, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/account/auth-forms/password.tsx b/apps/space/core/components/account/auth-forms/password.tsx index d821711cf..5b99cda2e 100644 --- a/apps/space/core/components/account/auth-forms/password.tsx +++ b/apps/space/core/components/account/auth-forms/password.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useMemo, useRef, useState } from "react"; import { observer } from "mobx-react"; import { Eye, EyeOff, XCircle } from "lucide-react"; diff --git a/apps/space/core/components/account/auth-forms/unique-code.tsx b/apps/space/core/components/account/auth-forms/unique-code.tsx index 1cd7ebb85..473ad45c6 100644 --- a/apps/space/core/components/account/auth-forms/unique-code.tsx +++ b/apps/space/core/components/account/auth-forms/unique-code.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { CircleCheck, XCircle } from "lucide-react"; // plane imports diff --git a/apps/space/core/components/account/terms-and-conditions.tsx b/apps/space/core/components/account/terms-and-conditions.tsx index e7b7a623e..14e51ac63 100644 --- a/apps/space/core/components/account/terms-and-conditions.tsx +++ b/apps/space/core/components/account/terms-and-conditions.tsx @@ -1,5 +1,3 @@ -"use client"; - import Link from "next/link"; type Props = { diff --git a/apps/space/core/components/account/user-logged-in.tsx b/apps/space/core/components/account/user-logged-in.tsx index 4762ea178..0e47d6e17 100644 --- a/apps/space/core/components/account/user-logged-in.tsx +++ b/apps/space/core/components/account/user-logged-in.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { PlaneLockup } from "@plane/propel/icons"; // assets diff --git a/apps/space/core/components/common/logo-spinner.tsx b/apps/space/core/components/common/logo-spinner.tsx index cff21a423..69a4b602b 100644 --- a/apps/space/core/components/common/logo-spinner.tsx +++ b/apps/space/core/components/common/logo-spinner.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useTheme } from "next-themes"; // assets import LogoSpinnerDark from "@/app/assets/images/logo-spinner-dark.gif?url"; diff --git a/apps/space/core/components/common/powered-by.tsx b/apps/space/core/components/common/powered-by.tsx index e51eb26b2..116c4c40f 100644 --- a/apps/space/core/components/common/powered-by.tsx +++ b/apps/space/core/components/common/powered-by.tsx @@ -1,5 +1,3 @@ -"use client"; - import { WEBSITE_URL } from "@plane/constants"; // assets import { PlaneLogo } from "@plane/propel/icons"; diff --git a/apps/space/core/components/editor/toolbar.tsx b/apps/space/core/components/editor/toolbar.tsx index a2fda440c..8a2f33dfe 100644 --- a/apps/space/core/components/editor/toolbar.tsx +++ b/apps/space/core/components/editor/toolbar.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState, useCallback } from "react"; // plane imports import { TOOLBAR_ITEMS } from "@plane/editor"; diff --git a/apps/space/core/components/instance/instance-failure-view.tsx b/apps/space/core/components/instance/instance-failure-view.tsx index a257573d2..45b616cf5 100644 --- a/apps/space/core/components/instance/instance-failure-view.tsx +++ b/apps/space/core/components/instance/instance-failure-view.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useTheme } from "next-themes"; import { Button } from "@plane/propel/button"; // assets diff --git a/apps/space/core/components/issues/filters/applied-filters/filters-list.tsx b/apps/space/core/components/issues/filters/applied-filters/filters-list.tsx index 0b71b9cfa..6fd9352ef 100644 --- a/apps/space/core/components/issues/filters/applied-filters/filters-list.tsx +++ b/apps/space/core/components/issues/filters/applied-filters/filters-list.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; import { CloseIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/filters/applied-filters/label.tsx b/apps/space/core/components/issues/filters/applied-filters/label.tsx index 47a30aa80..95aeff26b 100644 --- a/apps/space/core/components/issues/filters/applied-filters/label.tsx +++ b/apps/space/core/components/issues/filters/applied-filters/label.tsx @@ -1,5 +1,3 @@ -"use client"; - import { CloseIcon } from "@plane/propel/icons"; // types import type { IIssueLabel } from "@/types/issue"; diff --git a/apps/space/core/components/issues/filters/applied-filters/priority.tsx b/apps/space/core/components/issues/filters/applied-filters/priority.tsx index b2bfb90f9..afa5f7d0d 100644 --- a/apps/space/core/components/issues/filters/applied-filters/priority.tsx +++ b/apps/space/core/components/issues/filters/applied-filters/priority.tsx @@ -1,5 +1,3 @@ -"use client"; - import { CloseIcon, PriorityIcon } from "@plane/propel/icons"; import type { TIssuePriorities } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/filters/applied-filters/root.tsx b/apps/space/core/components/issues/filters/applied-filters/root.tsx index 28813d0a6..2571edada 100644 --- a/apps/space/core/components/issues/filters/applied-filters/root.tsx +++ b/apps/space/core/components/issues/filters/applied-filters/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback } from "react"; import { cloneDeep } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/filters/applied-filters/state.tsx b/apps/space/core/components/issues/filters/applied-filters/state.tsx index 65ca4f500..0e325a91c 100644 --- a/apps/space/core/components/issues/filters/applied-filters/state.tsx +++ b/apps/space/core/components/issues/filters/applied-filters/state.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { EIconSize } from "@plane/constants"; diff --git a/apps/space/core/components/issues/filters/helpers/dropdown.tsx b/apps/space/core/components/issues/filters/helpers/dropdown.tsx index 4853974ec..c9d672f7f 100644 --- a/apps/space/core/components/issues/filters/helpers/dropdown.tsx +++ b/apps/space/core/components/issues/filters/helpers/dropdown.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { Fragment, useState } from "react"; import type { Placement } from "@popperjs/core"; import { usePopper } from "react-popper"; diff --git a/apps/space/core/components/issues/filters/helpers/filter-header.tsx b/apps/space/core/components/issues/filters/helpers/filter-header.tsx index 568504b8e..e601cff8f 100644 --- a/apps/space/core/components/issues/filters/helpers/filter-header.tsx +++ b/apps/space/core/components/issues/filters/helpers/filter-header.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; // icons import { ChevronDownIcon, ChevronUpIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/filters/helpers/filter-option.tsx b/apps/space/core/components/issues/filters/helpers/filter-option.tsx index 49a2c35c5..1787e1941 100644 --- a/apps/space/core/components/issues/filters/helpers/filter-option.tsx +++ b/apps/space/core/components/issues/filters/helpers/filter-option.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // lucide icons import { Check } from "lucide-react"; diff --git a/apps/space/core/components/issues/filters/labels.tsx b/apps/space/core/components/issues/filters/labels.tsx index fe089693c..fde7df951 100644 --- a/apps/space/core/components/issues/filters/labels.tsx +++ b/apps/space/core/components/issues/filters/labels.tsx @@ -1,4 +1,3 @@ -"use client"; import React, { useState } from "react"; // plane imports import { Loader } from "@plane/ui"; diff --git a/apps/space/core/components/issues/filters/priority.tsx b/apps/space/core/components/issues/filters/priority.tsx index be24a4626..ad66f4a7c 100644 --- a/apps/space/core/components/issues/filters/priority.tsx +++ b/apps/space/core/components/issues/filters/priority.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/space/core/components/issues/filters/root.tsx b/apps/space/core/components/issues/filters/root.tsx index c3cd73ea9..8274702db 100644 --- a/apps/space/core/components/issues/filters/root.tsx +++ b/apps/space/core/components/issues/filters/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback } from "react"; import { cloneDeep } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/filters/selection.tsx b/apps/space/core/components/issues/filters/selection.tsx index 00a32d0f8..27cd709ec 100644 --- a/apps/space/core/components/issues/filters/selection.tsx +++ b/apps/space/core/components/issues/filters/selection.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { Search } from "lucide-react"; diff --git a/apps/space/core/components/issues/filters/state.tsx b/apps/space/core/components/issues/filters/state.tsx index 68920ffff..5cad51804 100644 --- a/apps/space/core/components/issues/filters/state.tsx +++ b/apps/space/core/components/issues/filters/state.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx b/apps/space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx index c939a2652..87f3e9724 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useMemo, useRef } from "react"; import { debounce } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/issue-layouts/kanban/block.tsx b/apps/space/core/components/issues/issue-layouts/kanban/block.tsx index 944b8474c..0d7db0003 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/block.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/block.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { MutableRefObject } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/space/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx b/apps/space/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx index 803497b44..9b5feb94c 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Circle } from "lucide-react"; // types diff --git a/apps/space/core/components/issues/issue-layouts/kanban/kanban-group.tsx b/apps/space/core/components/issues/issue-layouts/kanban/kanban-group.tsx index 37a129b84..28570eca1 100644 --- a/apps/space/core/components/issues/issue-layouts/kanban/kanban-group.tsx +++ b/apps/space/core/components/issues/issue-layouts/kanban/kanban-group.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { MutableRefObject } from "react"; import { forwardRef, useCallback, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/issue-layouts/list/block.tsx b/apps/space/core/components/issues/issue-layouts/list/block.tsx index 74b13cada..162fe842a 100644 --- a/apps/space/core/components/issues/issue-layouts/list/block.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/block.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useRef } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/space/core/components/issues/issue-layouts/list/headers/group-by-card.tsx b/apps/space/core/components/issues/issue-layouts/list/headers/group-by-card.tsx index f463bdee3..8ea5d3b82 100644 --- a/apps/space/core/components/issues/issue-layouts/list/headers/group-by-card.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/headers/group-by-card.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { CircleDashed } from "lucide-react"; diff --git a/apps/space/core/components/issues/issue-layouts/list/list-group.tsx b/apps/space/core/components/issues/issue-layouts/list/list-group.tsx index 6c243a869..0510e171a 100644 --- a/apps/space/core/components/issues/issue-layouts/list/list-group.tsx +++ b/apps/space/core/components/issues/issue-layouts/list/list-group.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { MutableRefObject } from "react"; import { Fragment, forwardRef, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/issue-layouts/properties/all-properties.tsx b/apps/space/core/components/issues/issue-layouts/properties/all-properties.tsx index 45b65a31b..07e00f587 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/all-properties.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/all-properties.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Link, Paperclip } from "lucide-react"; import { ViewsIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/issue-layouts/properties/cycle.tsx b/apps/space/core/components/issues/issue-layouts/properties/cycle.tsx index a3a3fb503..9fdb1dbaa 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/cycle.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/cycle.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane ui import { CycleIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/issue-layouts/properties/due-date.tsx b/apps/space/core/components/issues/issue-layouts/properties/due-date.tsx index e68db6762..080ff1f3b 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/due-date.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/due-date.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { DueDatePropertyIcon } from "@plane/propel/icons"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/space/core/components/issues/issue-layouts/properties/labels.tsx b/apps/space/core/components/issues/issue-layouts/properties/labels.tsx index 44a7e7518..fa8b906c5 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/labels.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/labels.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { LabelPropertyIcon } from "@plane/propel/icons"; // plane imports diff --git a/apps/space/core/components/issues/issue-layouts/properties/member.tsx b/apps/space/core/components/issues/issue-layouts/properties/member.tsx index 52b7fabe3..581497580 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/member.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/member.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // icons import type { LucideIcon } from "lucide-react"; diff --git a/apps/space/core/components/issues/issue-layouts/properties/modules.tsx b/apps/space/core/components/issues/issue-layouts/properties/modules.tsx index da229bdb4..7a4c2b8bf 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/modules.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/modules.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane ui import { ModuleIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/issue-layouts/properties/priority.tsx b/apps/space/core/components/issues/issue-layouts/properties/priority.tsx index b86da61a5..8fb52a154 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/priority.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/priority.tsx @@ -1,5 +1,3 @@ -"use client"; - import { SignalHigh } from "lucide-react"; import { useTranslation } from "@plane/i18n"; // types diff --git a/apps/space/core/components/issues/issue-layouts/properties/state.tsx b/apps/space/core/components/issues/issue-layouts/properties/state.tsx index 8e19ce544..344c91c8e 100644 --- a/apps/space/core/components/issues/issue-layouts/properties/state.tsx +++ b/apps/space/core/components/issues/issue-layouts/properties/state.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane ui import { StateGroupIcon } from "@plane/propel/icons"; diff --git a/apps/space/core/components/issues/issue-layouts/root.tsx b/apps/space/core/components/issues/issue-layouts/root.tsx index 85f3e06d8..e0831fa8c 100644 --- a/apps/space/core/components/issues/issue-layouts/root.tsx +++ b/apps/space/core/components/issues/issue-layouts/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/space/core/components/issues/issue-layouts/utils.tsx b/apps/space/core/components/issues/issue-layouts/utils.tsx index f36a76c21..4911fefc3 100644 --- a/apps/space/core/components/issues/issue-layouts/utils.tsx +++ b/apps/space/core/components/issues/issue-layouts/utils.tsx @@ -1,5 +1,3 @@ -"use client"; - import { isNil } from "lodash-es"; // types import { EIconSize, ISSUE_PRIORITIES } from "@plane/constants"; diff --git a/apps/space/core/components/issues/navbar/controls.tsx b/apps/space/core/components/issues/navbar/controls.tsx index 6d9a3afde..e1c25cf2d 100644 --- a/apps/space/core/components/issues/navbar/controls.tsx +++ b/apps/space/core/components/issues/navbar/controls.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { observer } from "mobx-react"; import { useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/space/core/components/issues/navbar/layout-selection.tsx b/apps/space/core/components/issues/navbar/layout-selection.tsx index 23698c81e..201bd1513 100644 --- a/apps/space/core/components/issues/navbar/layout-selection.tsx +++ b/apps/space/core/components/issues/navbar/layout-selection.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useRouter, useSearchParams } from "next/navigation"; // ui diff --git a/apps/space/core/components/issues/navbar/root.tsx b/apps/space/core/components/issues/navbar/root.tsx index b22ac8a1c..195065b4b 100644 --- a/apps/space/core/components/issues/navbar/root.tsx +++ b/apps/space/core/components/issues/navbar/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { ProjectIcon } from "@plane/propel/icons"; // components diff --git a/apps/space/core/components/issues/navbar/theme.tsx b/apps/space/core/components/issues/navbar/theme.tsx index 8d6c7b10c..734e29142 100644 --- a/apps/space/core/components/issues/navbar/theme.tsx +++ b/apps/space/core/components/issues/navbar/theme.tsx @@ -1,5 +1,3 @@ -"use client"; - // next theme import { useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/space/core/components/issues/navbar/user-avatar.tsx b/apps/space/core/components/issues/navbar/user-avatar.tsx index 21d004ec1..c8566a981 100644 --- a/apps/space/core/components/issues/navbar/user-avatar.tsx +++ b/apps/space/core/components/issues/navbar/user-avatar.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Fragment, useEffect, useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/space/core/components/issues/peek-overview/comment/add-comment.tsx b/apps/space/core/components/issues/peek-overview/comment/add-comment.tsx index e2bea2543..9d90b6f73 100644 --- a/apps/space/core/components/issues/peek-overview/comment/add-comment.tsx +++ b/apps/space/core/components/issues/peek-overview/comment/add-comment.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useRef, useState } from "react"; import { observer } from "mobx-react"; import { useForm, Controller } from "react-hook-form"; diff --git a/apps/space/core/components/issues/peek-overview/comment/comment-reactions.tsx b/apps/space/core/components/issues/peek-overview/comment/comment-reactions.tsx index ff6a5eb64..7a73fb4a0 100644 --- a/apps/space/core/components/issues/peek-overview/comment/comment-reactions.tsx +++ b/apps/space/core/components/issues/peek-overview/comment/comment-reactions.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { usePathname, useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/space/core/components/issues/peek-overview/full-screen-peek-view.tsx b/apps/space/core/components/issues/peek-overview/full-screen-peek-view.tsx index f200429be..daca2d858 100644 --- a/apps/space/core/components/issues/peek-overview/full-screen-peek-view.tsx +++ b/apps/space/core/components/issues/peek-overview/full-screen-peek-view.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { Loader } from "@plane/ui"; diff --git a/apps/space/core/components/issues/peek-overview/header.tsx b/apps/space/core/components/issues/peek-overview/header.tsx index 68a902cbb..a7459fb1d 100644 --- a/apps/space/core/components/issues/peek-overview/header.tsx +++ b/apps/space/core/components/issues/peek-overview/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import { Link2, MoveRight } from "lucide-react"; diff --git a/apps/space/core/components/issues/peek-overview/issue-activity.tsx b/apps/space/core/components/issues/peek-overview/issue-activity.tsx index a02597c72..cc4ba4dca 100644 --- a/apps/space/core/components/issues/peek-overview/issue-activity.tsx +++ b/apps/space/core/components/issues/peek-overview/issue-activity.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/space/core/components/issues/peek-overview/issue-properties.tsx b/apps/space/core/components/issues/peek-overview/issue-properties.tsx index 622f4f374..fa30531f0 100644 --- a/apps/space/core/components/issues/peek-overview/issue-properties.tsx +++ b/apps/space/core/components/issues/peek-overview/issue-properties.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/space/core/components/issues/peek-overview/layout.tsx b/apps/space/core/components/issues/peek-overview/layout.tsx index 2d78dee09..d8ebec8d0 100644 --- a/apps/space/core/components/issues/peek-overview/layout.tsx +++ b/apps/space/core/components/issues/peek-overview/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Fragment, useEffect } from "react"; import { observer } from "mobx-react"; import { useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/space/core/components/issues/peek-overview/side-peek-view.tsx b/apps/space/core/components/issues/peek-overview/side-peek-view.tsx index f6b770f3a..d091d42c9 100644 --- a/apps/space/core/components/issues/peek-overview/side-peek-view.tsx +++ b/apps/space/core/components/issues/peek-overview/side-peek-view.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { Loader } from "@plane/ui"; diff --git a/apps/space/core/components/issues/reactions/issue-emoji-reactions.tsx b/apps/space/core/components/issues/reactions/issue-emoji-reactions.tsx index 59c1d82c5..4f881595d 100644 --- a/apps/space/core/components/issues/reactions/issue-emoji-reactions.tsx +++ b/apps/space/core/components/issues/reactions/issue-emoji-reactions.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { usePathname, useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/space/core/components/issues/reactions/issue-vote-reactions.tsx b/apps/space/core/components/issues/reactions/issue-vote-reactions.tsx index d8d3b6c70..43d2f8cbe 100644 --- a/apps/space/core/components/issues/reactions/issue-vote-reactions.tsx +++ b/apps/space/core/components/issues/reactions/issue-vote-reactions.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { usePathname, useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/space/core/components/ui/not-found.tsx b/apps/space/core/components/ui/not-found.tsx index 61e37448c..37e0dc3b2 100644 --- a/apps/space/core/components/ui/not-found.tsx +++ b/apps/space/core/components/ui/not-found.tsx @@ -1,5 +1,3 @@ -"use client"; - // images import Image404 from "@/app/assets/404.svg?url"; diff --git a/apps/space/core/components/views/auth.tsx b/apps/space/core/components/views/auth.tsx index 74297b6e4..04b11626d 100644 --- a/apps/space/core/components/views/auth.tsx +++ b/apps/space/core/components/views/auth.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import { AuthRoot } from "@/components/account/auth-forms"; import { PoweredBy } from "@/components/common/powered-by"; diff --git a/apps/space/core/components/views/header.tsx b/apps/space/core/components/views/header.tsx index e64fdd789..9acbd5868 100644 --- a/apps/space/core/components/views/header.tsx +++ b/apps/space/core/components/views/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import Link from "next/link"; import { PlaneLockup } from "@plane/propel/icons"; diff --git a/apps/space/core/lib/b-progress/AppProgressBar.tsx b/apps/space/core/lib/b-progress/AppProgressBar.tsx index 915b19ff9..7ad93fc11 100644 --- a/apps/space/core/lib/b-progress/AppProgressBar.tsx +++ b/apps/space/core/lib/b-progress/AppProgressBar.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef } from "react"; import { BProgress } from "@bprogress/core"; import { useNavigation } from "react-router"; diff --git a/apps/space/core/lib/instance-provider.tsx b/apps/space/core/lib/instance-provider.tsx index 04e908980..4d422df72 100644 --- a/apps/space/core/lib/instance-provider.tsx +++ b/apps/space/core/lib/instance-provider.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import Link from "next/link"; import { useTheme } from "next-themes"; diff --git a/apps/space/core/lib/store-provider.tsx b/apps/space/core/lib/store-provider.tsx index 1194c306f..e251909df 100644 --- a/apps/space/core/lib/store-provider.tsx +++ b/apps/space/core/lib/store-provider.tsx @@ -1,5 +1,3 @@ -"use client"; - import { createContext } from "react"; // plane web store import { RootStore } from "@/plane-web/store/root.store"; diff --git a/apps/space/core/lib/toast-provider.tsx b/apps/space/core/lib/toast-provider.tsx index 5ad32376f..fc30bf1fa 100644 --- a/apps/space/core/lib/toast-provider.tsx +++ b/apps/space/core/lib/toast-provider.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useTheme } from "next-themes"; // plane imports import { Toast } from "@plane/propel/toast"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/_sidebar.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/_sidebar.tsx index 24dc90d68..fa31c067d 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/_sidebar.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/_sidebar.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/header.tsx index f09f8dc44..edb12b004 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/header.tsx @@ -1,4 +1,3 @@ -"use client"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; // ui diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/layout.tsx index e1db9309f..9d4e32d26 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/page.tsx index eb5d4bdcc..f0c470cfb 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/active-cycles/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // components import { PageHead } from "@/components/core/page-title"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/header.tsx index b4f87e5b8..95fd9186f 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; import { AnalyticsIcon } from "@plane/propel/icons"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/layout.tsx index 497e40366..4521939e6 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/layout.tsx @@ -1,4 +1,3 @@ -"use client"; // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/page.tsx index 409b2eb12..03c841605 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/analytics/[tabId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo } from "react"; import { observer } from "mobx-react"; import { useRouter } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx index 093130336..7761d593a 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/layout.tsx index c9d8faf04..6b46714c5 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/page.tsx index 9462653f0..22a7c82d2 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/header.tsx index 6ab2ffd4e..c18051384 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/layout.tsx index e2b6a06e6..539d35e77 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/page.tsx index b36a31c78..7c3814c6d 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/drafts/page.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import { PageHead } from "@/components/core/page-title"; import { WorkspaceDraftIssuesRoot } from "@/components/issues/workspace-draft"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx index e5040865f..a81c08f6d 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useRef, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar-wrapper.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar-wrapper.tsx index 264bfdde3..a99706f9c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar-wrapper.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar-wrapper.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar.tsx index 8abdd8177..fd4d1e311 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-sidebar.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useMemo, useRef } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/header.tsx index a5890b018..ed6184e99 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Shapes } from "lucide-react"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/layout.tsx index e4d8d7627..f1f70ce3f 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Outlet } from "react-router"; import { ProjectsAppPowerKProvider } from "@/components/power-k/projects-app-provider"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/layout.tsx index d0083781d..13aacc02b 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // components import { NotificationsSidebarRoot } from "@/components/workspace-notifications/sidebar"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/page.tsx index 2932f94f0..a9b293bdc 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/notifications/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/page.tsx index d5ee26fa1..86baf2781 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // components import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/[profileViewId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/[profileViewId]/page.tsx index fdfaa22e1..689a76173 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/[profileViewId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/[profileViewId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // components import { PageHead } from "@/components/core/page-title"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/activity/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/activity/page.tsx index f079a1e77..95e723184 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/activity/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/activity/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/header.tsx index b412ae7b5..a2dfcdc3c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/header.tsx @@ -1,5 +1,3 @@ -"use client"; - // ui import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/layout.tsx index 50f1bdc56..4e100b0c3 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; import { Outlet } from "react-router"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/mobile-header.tsx index 64d3b636e..989741f3b 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/mobile-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/page.tsx index b63ce1aff..6a670e672 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/profile/[userId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import useSWR from "swr"; // plane imports import { GROUP_CHOICES } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/layout.tsx index 7732b8504..d8212f6ed 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/page.tsx index d99c818fa..077ab4edc 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/cycles/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // components import { PageHead } from "@/components/core/page-title"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/header.tsx index 0941e688a..e198825cc 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/[archivedIssueId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/[archivedIssueId]/page.tsx index 005c66c86..6b7123a2b 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/[archivedIssueId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/[archivedIssueId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useRouter } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/header.tsx index 32e326798..21d14d596 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/layout.tsx index 77f0c854a..acb4f7189 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(detail)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/layout.tsx index 61105a0d4..83dffbaf9 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/page.tsx index dfb32d9bc..51c9c90d3 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/issues/(list)/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // components import { PageHead } from "@/components/core/page-title"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/layout.tsx index e7ab5f747..d04808bf8 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/page.tsx index 3187e73ef..53c50f652 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/archives/modules/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // components import { PageHead } from "@/components/core/page-title"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/[cycleId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/[cycleId]/page.tsx index b5ac74dad..361912ca9 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/[cycleId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/[cycleId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { cn } from "@plane/utils"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/header.tsx index 28203c37a..167506dba 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useRef, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/layout.tsx index 52b4d42e4..40c0d7b11 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/mobile-header.tsx index 30005abb8..5b0610622 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/mobile-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/header.tsx index 630a69e60..4226ee9b7 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/layout.tsx index 002ab5537..f65235274 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/mobile-header.tsx index ce4b02528..b11446a19 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/mobile-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type React from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/page.tsx index 60285485f..f029bc0b3 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(list)/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/layout.tsx index 24e96477e..3d3ec5d05 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/page.tsx index e8cedf8e1..4904f9da1 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/intake/page.tsx @@ -1,4 +1,3 @@ -"use client"; import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(detail)/[issueId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(detail)/[issueId]/page.tsx index 726686e78..216aed2ad 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(detail)/[issueId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(detail)/[issueId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useTheme } from "next-themes"; import { redirect } from "react-router"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/layout.tsx index ffaf086c0..5fe249e5c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/mobile-header.tsx index 432346f9c..be30272a8 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/mobile-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/page.tsx index 17955c562..f2d5355b1 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // i18n import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/[moduleId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/[moduleId]/page.tsx index bcb150140..610154824 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/[moduleId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/[moduleId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import useSWR from "swr"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/header.tsx index f91609cdc..4424410e4 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useRef, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/layout.tsx index 4e8e0e60b..33234e33c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/mobile-header.tsx index 3ee8f1755..801f4f453 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/mobile-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/header.tsx index 7d72a15e7..30d7b3b3d 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/layout.tsx index 781de0480..909418c89 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/mobile-header.tsx index 774dcb639..c4133e680 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/mobile-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { MODULE_VIEW_LAYOUTS } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/page.tsx index 65b96d9ba..292db3554 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(list)/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/[pageId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/[pageId]/page.tsx index bf0b1dcc3..fa4fd0d7b 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/[pageId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/[pageId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useEffect, useMemo } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/header.tsx index e93dc850c..a5a047e01 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/header.tsx @@ -1,4 +1,3 @@ -"use client"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import { EProjectFeatureKey } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/layout.tsx index a446165d0..59f609dbf 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(detail)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - // component import { Outlet } from "react-router"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/header.tsx index 853e92568..7feefdcf8 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { useParams, useRouter, useSearchParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/layout.tsx index 64f4ee95d..911ef24bb 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/page.tsx index 775472f82..b4f6ff523 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/pages/(list)/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx index de9d4ec80..57e62ac7a 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useRef } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/page.tsx index 4d3c3a183..a51b2dbb5 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/[viewId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import useSWR from "swr"; // assets diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/layout.tsx index f7ad8f212..dfd295513 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(detail)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; import { ContentWrapper } from "@/components/core/content-wrapper"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/header.tsx index 02a4bdfc8..afafa8511 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // ui diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/layout.tsx index c6fc4039c..41751627c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; import { ContentWrapper } from "@/components/core/content-wrapper"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/mobile-header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/mobile-header.tsx index f9a14a74e..5ebceace9 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/mobile-header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/mobile-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // icons import { ListFilter } from "lucide-react"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/page.tsx index b68a395bd..76bebd671 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/views/(list)/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/archives/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/archives/layout.tsx index c2c678c77..588a8a43d 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/archives/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/archives/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/layout.tsx index 4053aa6c7..38d0ac946 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(detail)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // plane web layouts import { ProjectAuthWrapper } from "@/plane-web/layouts/project-wrapper"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(list)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(list)/layout.tsx index 4e9249ed7..508736927 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(list)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/projects/(list)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // components import { AppHeader } from "@/components/core/app-header"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/star-us-link.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/star-us-link.tsx index 183594c9e..782adb5bf 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/star-us-link.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/star-us-link.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useTheme } from "next-themes"; // plane imports import { HEADER_GITHUB_ICON, GITHUB_REDIRECTED_TRACKER_EVENT } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/header.tsx index 757507a03..384e06941 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/layout.tsx index 366a71ab7..f33cfefd0 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; import { ContentWrapper } from "@/components/core/content-wrapper"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/page.tsx index 198985929..463e75c61 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/stickies/page.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import { PageHead } from "@/components/core/page-title"; import { StickiesInfinite } from "@/components/stickies/layout/stickies-infinite"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/[globalViewId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/[globalViewId]/page.tsx index 7f2c4abe9..9862aae69 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/[globalViewId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/[globalViewId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/header.tsx index 08f563379..91efb16d8 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/layout.tsx index 95469c3d0..34fa8df49 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; import { AppHeader } from "@/components/core/app-header"; import { ContentWrapper } from "@/components/core/content-wrapper"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx index 9f8865077..2eed30add 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { Search } from "lucide-react"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/layout.tsx index 2a5eda4f3..7bdc18064 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; // components import { ContentWrapper } from "@/components/core/content-wrapper"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/billing/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/billing/page.tsx index 6eeb9e667..0ea5d2c9c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/billing/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/billing/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // component import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/exports/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/exports/page.tsx index e637dfb4f..5891e5084 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/exports/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/exports/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // components import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/imports/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/imports/page.tsx index 38585a77e..89eb978fc 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/imports/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/imports/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // components import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/integrations/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/integrations/page.tsx index a538a4486..8e4b1b1ea 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/integrations/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/integrations/page.tsx @@ -1,4 +1,3 @@ -"use client"; import { observer } from "mobx-react"; import useSWR from "swr"; // components diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/layout.tsx index 08ed35d80..4412962cc 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; import { Outlet } from "react-router"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/page.tsx index 20d3f57ee..609c13c90 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/members/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { Search } from "lucide-react"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/page.tsx index 9f27cb7d0..f7aa43fde 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/[webhookId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/[webhookId]/page.tsx index f8801d1ca..67ce26505 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/[webhookId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/[webhookId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/page.tsx index eff5ce4d4..93ae93967 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/(workspace)/webhooks/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/activity/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/activity/page.tsx index e76dcb1aa..5bc01662e 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/activity/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/activity/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/api-tokens/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/api-tokens/page.tsx index 7b0663da9..6553d52a1 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/api-tokens/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/api-tokens/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/layout.tsx index 0678b884a..25d737300 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; import { Outlet } from "react-router"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/notifications/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/notifications/page.tsx index 5b0d43ab2..c4d05e1f8 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/notifications/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/notifications/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import useSWR from "swr"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/page.tsx index 0fef26e1a..7c6d22c99 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; // components diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/preferences/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/preferences/page.tsx index 4ea14f70b..397b46603 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/preferences/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/preferences/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/security/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/security/page.tsx index fad026dda..4ad032f0e 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/security/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/account/security/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/layout.tsx index 8e62377f3..cd84d7c2f 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Outlet } from "react-router"; // plane web imports diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/page.tsx index 2e2664ff4..360775755 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/automations/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/estimates/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/estimates/page.tsx index bbf1cd313..2d446ae7c 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/estimates/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/estimates/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // components import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/page.tsx index dbcb2c5aa..6db9c4bd0 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/features/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // components import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/labels/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/labels/page.tsx index acfff800d..812b58302 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/labels/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/labels/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { autoScrollForElements } from "@atlaskit/pragmatic-drag-and-drop-auto-scroll/element"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/members/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/members/page.tsx index d12bc65a2..3bdf8e999 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/members/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/members/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/page.tsx index 1d67c80af..667a33cb0 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/states/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/states/page.tsx index c85c643dd..31d8ccbc1 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/states/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/[projectId]/states/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/layout.tsx index 2adbe9989..d8e191a4f 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; diff --git a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/page.tsx index 14b72758e..79f6597e7 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(settings)/settings/projects/page.tsx @@ -1,4 +1,3 @@ -"use client"; import Link from "next/link"; import { useTheme } from "next-themes"; import { PROJECT_TRACKER_ELEMENTS } from "@plane/constants"; diff --git a/apps/web/app/(all)/[workspaceSlug]/layout.tsx b/apps/web/app/(all)/[workspaceSlug]/layout.tsx index 945c0724b..9d0baa157 100644 --- a/apps/web/app/(all)/[workspaceSlug]/layout.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Outlet } from "react-router"; import { AppRailProvider } from "@/hooks/context/app-rail-context"; import { AuthenticationWrapper } from "@/lib/wrappers/authentication-wrapper"; diff --git a/apps/web/app/(all)/accounts/forgot-password/page.tsx b/apps/web/app/(all)/accounts/forgot-password/page.tsx index 7c121e25f..299897364 100644 --- a/apps/web/app/(all)/accounts/forgot-password/page.tsx +++ b/apps/web/app/(all)/accounts/forgot-password/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // components import { ForgotPasswordForm } from "@/components/account/auth-forms/forgot-password"; diff --git a/apps/web/app/(all)/accounts/reset-password/page.tsx b/apps/web/app/(all)/accounts/reset-password/page.tsx index ce799d6b9..b37fb9aed 100644 --- a/apps/web/app/(all)/accounts/reset-password/page.tsx +++ b/apps/web/app/(all)/accounts/reset-password/page.tsx @@ -1,4 +1,3 @@ -"use client"; // plane imports import { EAuthModes } from "@plane/constants"; // components diff --git a/apps/web/app/(all)/accounts/set-password/page.tsx b/apps/web/app/(all)/accounts/set-password/page.tsx index 4ee93ae72..4e3a3bfa0 100644 --- a/apps/web/app/(all)/accounts/set-password/page.tsx +++ b/apps/web/app/(all)/accounts/set-password/page.tsx @@ -1,4 +1,3 @@ -"use client"; // plane imports import { EAuthModes } from "@plane/constants"; // components diff --git a/apps/web/app/(all)/create-workspace/page.tsx b/apps/web/app/(all)/create-workspace/page.tsx index 25554b4e6..7d8cfa82a 100644 --- a/apps/web/app/(all)/create-workspace/page.tsx +++ b/apps/web/app/(all)/create-workspace/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/app/(all)/invitations/page.tsx b/apps/web/app/(all)/invitations/page.tsx index b67bc9b61..ccdea5752 100644 --- a/apps/web/app/(all)/invitations/page.tsx +++ b/apps/web/app/(all)/invitations/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/app/(all)/layout.preload.tsx b/apps/web/app/(all)/layout.preload.tsx index 000b9b284..af2368fa8 100644 --- a/apps/web/app/(all)/layout.preload.tsx +++ b/apps/web/app/(all)/layout.preload.tsx @@ -1,5 +1,3 @@ -"use client"; - // TODO: Check if we need this // https://nextjs.org/docs/app/api-reference/functions/generate-metadata#link-relpreload // export const usePreloadResources = () => { diff --git a/apps/web/app/(all)/onboarding/page.tsx b/apps/web/app/(all)/onboarding/page.tsx index bbcdc5585..0fdb91abc 100644 --- a/apps/web/app/(all)/onboarding/page.tsx +++ b/apps/web/app/(all)/onboarding/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/app/(all)/profile/activity/page.tsx b/apps/web/app/(all)/profile/activity/page.tsx index 39c4c479c..0ddd56f95 100644 --- a/apps/web/app/(all)/profile/activity/page.tsx +++ b/apps/web/app/(all)/profile/activity/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/profile/appearance/page.tsx b/apps/web/app/(all)/profile/appearance/page.tsx index e9c1ee96e..648681f07 100644 --- a/apps/web/app/(all)/profile/appearance/page.tsx +++ b/apps/web/app/(all)/profile/appearance/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/app/(all)/profile/layout.tsx b/apps/web/app/(all)/profile/layout.tsx index e86f60681..f42685939 100644 --- a/apps/web/app/(all)/profile/layout.tsx +++ b/apps/web/app/(all)/profile/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import { Outlet } from "react-router"; // wrappers diff --git a/apps/web/app/(all)/profile/notifications/page.tsx b/apps/web/app/(all)/profile/notifications/page.tsx index 9f7bb2203..725117e5c 100644 --- a/apps/web/app/(all)/profile/notifications/page.tsx +++ b/apps/web/app/(all)/profile/notifications/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import useSWR from "swr"; // components import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/profile/page.tsx b/apps/web/app/(all)/profile/page.tsx index b89759fd4..9b6f8f083 100644 --- a/apps/web/app/(all)/profile/page.tsx +++ b/apps/web/app/(all)/profile/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/app/(all)/profile/security/page.tsx b/apps/web/app/(all)/profile/security/page.tsx index ed27f95d2..3e92f4747 100644 --- a/apps/web/app/(all)/profile/security/page.tsx +++ b/apps/web/app/(all)/profile/security/page.tsx @@ -1,4 +1,3 @@ -"use client"; import { useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/app/(all)/profile/sidebar.tsx b/apps/web/app/(all)/profile/sidebar.tsx index 53dfd0de8..13ab54bdb 100644 --- a/apps/web/app/(all)/profile/sidebar.tsx +++ b/apps/web/app/(all)/profile/sidebar.tsx @@ -1,4 +1,3 @@ -"use client"; import { useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/app/(all)/sign-up/page.tsx b/apps/web/app/(all)/sign-up/page.tsx index cef1afa3f..b3563ae7d 100644 --- a/apps/web/app/(all)/sign-up/page.tsx +++ b/apps/web/app/(all)/sign-up/page.tsx @@ -1,4 +1,3 @@ -"use client"; // components import { AuthBase } from "@/components/auth-screens/auth-base"; // helpers diff --git a/apps/web/app/(all)/workspace-invitations/page.tsx b/apps/web/app/(all)/workspace-invitations/page.tsx index 67d9b6c5a..385c54f91 100644 --- a/apps/web/app/(all)/workspace-invitations/page.tsx +++ b/apps/web/app/(all)/workspace-invitations/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; diff --git a/apps/web/app/(home)/page.tsx b/apps/web/app/(home)/page.tsx index ed49c16ba..657ee5017 100644 --- a/apps/web/app/(home)/page.tsx +++ b/apps/web/app/(home)/page.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; // components import { AuthBase } from "@/components/auth-screens/auth-base"; diff --git a/apps/web/app/compat/next/image.tsx b/apps/web/app/compat/next/image.tsx index 3a7824bff..58e8765eb 100644 --- a/apps/web/app/compat/next/image.tsx +++ b/apps/web/app/compat/next/image.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; // Minimal shim so code using next/image compiles under React Router + Vite diff --git a/apps/web/app/compat/next/link.tsx b/apps/web/app/compat/next/link.tsx index 00ddf0ed5..b0bca4faf 100644 --- a/apps/web/app/compat/next/link.tsx +++ b/apps/web/app/compat/next/link.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; import { Link as RRLink } from "react-router"; import { ensureTrailingSlash } from "./helper"; diff --git a/apps/web/app/compat/next/navigation.ts b/apps/web/app/compat/next/navigation.ts index ecb076fed..7a5f09984 100644 --- a/apps/web/app/compat/next/navigation.ts +++ b/apps/web/app/compat/next/navigation.ts @@ -1,5 +1,3 @@ -"use client"; - import { useMemo } from "react"; import { useLocation, useNavigate, useParams as useParamsRR, useSearchParams as useSearchParamsRR } from "react-router"; import { ensureTrailingSlash } from "./helper"; diff --git a/apps/web/app/compat/next/script.tsx b/apps/web/app/compat/next/script.tsx index 700fea1df..af1063dbf 100644 --- a/apps/web/app/compat/next/script.tsx +++ b/apps/web/app/compat/next/script.tsx @@ -1,4 +1,3 @@ -"use client"; import { useEffect } from "react"; type ScriptProps = { diff --git a/apps/web/app/error/dev.tsx b/apps/web/app/error/dev.tsx index 8ea7196ab..9d35d149b 100644 --- a/apps/web/app/error/dev.tsx +++ b/apps/web/app/error/dev.tsx @@ -1,4 +1,3 @@ -"use client"; // plane imports import { isRouteErrorResponse } from "react-router"; import { Banner } from "@plane/propel/banner"; diff --git a/apps/web/app/error/index.tsx b/apps/web/app/error/index.tsx index 88a94eb3d..d7da7a8db 100644 --- a/apps/web/app/error/index.tsx +++ b/apps/web/app/error/index.tsx @@ -1,5 +1,3 @@ -"use client"; - // hooks import { useAppRouter } from "@/hooks/use-app-router"; // layouts diff --git a/apps/web/app/error/prod.tsx b/apps/web/app/error/prod.tsx index c039c5b58..574294e54 100644 --- a/apps/web/app/error/prod.tsx +++ b/apps/web/app/error/prod.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useTheme } from "next-themes"; // plane imports import { Button } from "@plane/propel/button"; diff --git a/apps/web/app/not-found.tsx b/apps/web/app/not-found.tsx index 5caf3ea9d..0ee635460 100644 --- a/apps/web/app/not-found.tsx +++ b/apps/web/app/not-found.tsx @@ -1,4 +1,3 @@ -"use client"; import Link from "next/link"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/app/provider.tsx b/apps/web/app/provider.tsx index acd497e35..be2ed2e9e 100644 --- a/apps/web/app/provider.tsx +++ b/apps/web/app/provider.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC, ReactNode } from "react"; import { lazy, Suspense } from "react"; import { useTheme, ThemeProvider } from "next-themes"; diff --git a/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx b/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx index 4728fd809..316245fd3 100644 --- a/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx +++ b/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { AlertOctagon, BarChart4, CircleDashed, Folder, Microscope, Search } from "lucide-react"; // plane imports diff --git a/apps/web/ce/components/app-rail/root.tsx b/apps/web/ce/components/app-rail/root.tsx index 23aff7ca9..a757c4213 100644 --- a/apps/web/ce/components/app-rail/root.tsx +++ b/apps/web/ce/components/app-rail/root.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; export function AppRailRoot() { diff --git a/apps/web/ce/components/automations/root.tsx b/apps/web/ce/components/automations/root.tsx index 61a40ca1f..9dbb44942 100644 --- a/apps/web/ce/components/automations/root.tsx +++ b/apps/web/ce/components/automations/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React from "react"; diff --git a/apps/web/ce/components/breadcrumbs/common.tsx b/apps/web/ce/components/breadcrumbs/common.tsx index bb7fc9624..053659645 100644 --- a/apps/web/ce/components/breadcrumbs/common.tsx +++ b/apps/web/ce/components/breadcrumbs/common.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; // plane imports import type { EProjectFeatureKey } from "@plane/constants"; diff --git a/apps/web/ce/components/breadcrumbs/project-feature.tsx b/apps/web/ce/components/breadcrumbs/project-feature.tsx index 15d29586e..4d992beb2 100644 --- a/apps/web/ce/components/breadcrumbs/project-feature.tsx +++ b/apps/web/ce/components/breadcrumbs/project-feature.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/breadcrumbs/project.tsx b/apps/web/ce/components/breadcrumbs/project.tsx index 01588ea6a..36badf4b4 100644 --- a/apps/web/ce/components/breadcrumbs/project.tsx +++ b/apps/web/ce/components/breadcrumbs/project.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Logo } from "@plane/propel/emoji-icon-picker"; import { ProjectIcon } from "@plane/propel/icons"; diff --git a/apps/web/ce/components/command-palette/helpers.tsx b/apps/web/ce/components/command-palette/helpers.tsx index 1ad7e6f49..fee3166e8 100644 --- a/apps/web/ce/components/command-palette/helpers.tsx +++ b/apps/web/ce/components/command-palette/helpers.tsx @@ -1,5 +1,3 @@ -"use client"; - import { LayoutGrid } from "lucide-react"; // plane imports import { CycleIcon, ModuleIcon, PageIcon, ProjectIcon, ViewsIcon } from "@plane/propel/icons"; diff --git a/apps/web/ce/components/command-palette/power-k/pages/context-based/work-item/state-menu-item.tsx b/apps/web/ce/components/command-palette/power-k/pages/context-based/work-item/state-menu-item.tsx index da37a5689..2478fdf4f 100644 --- a/apps/web/ce/components/command-palette/power-k/pages/context-based/work-item/state-menu-item.tsx +++ b/apps/web/ce/components/command-palette/power-k/pages/context-based/work-item/state-menu-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane types import { StateGroupIcon } from "@plane/propel/icons"; diff --git a/apps/web/ce/components/command-palette/power-k/search/search-results-map.tsx b/apps/web/ce/components/command-palette/power-k/search/search-results-map.tsx index c09dd41a1..90d5b5f20 100644 --- a/apps/web/ce/components/command-palette/power-k/search/search-results-map.tsx +++ b/apps/web/ce/components/command-palette/power-k/search/search-results-map.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import type { TPowerKSearchResultGroupDetails } from "@/components/power-k/ui/modal/search-results-map"; // local imports diff --git a/apps/web/ce/components/cycles/active-cycle/root.tsx b/apps/web/ce/components/cycles/active-cycle/root.tsx index 9bded0e52..f55d7b6e0 100644 --- a/apps/web/ce/components/cycles/active-cycle/root.tsx +++ b/apps/web/ce/components/cycles/active-cycle/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/ce/components/cycles/analytics-sidebar/base.tsx b/apps/web/ce/components/cycles/analytics-sidebar/base.tsx index 340be3395..3bcf28321 100644 --- a/apps/web/ce/components/cycles/analytics-sidebar/base.tsx +++ b/apps/web/ce/components/cycles/analytics-sidebar/base.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Fragment } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/cycles/analytics-sidebar/root.tsx b/apps/web/ce/components/cycles/analytics-sidebar/root.tsx index dd65b1d9f..947a8844c 100644 --- a/apps/web/ce/components/cycles/analytics-sidebar/root.tsx +++ b/apps/web/ce/components/cycles/analytics-sidebar/root.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; // components diff --git a/apps/web/ce/components/de-dupe/de-dupe-button.tsx b/apps/web/ce/components/de-dupe/de-dupe-button.tsx index 2ece4f4cd..1575abac8 100644 --- a/apps/web/ce/components/de-dupe/de-dupe-button.tsx +++ b/apps/web/ce/components/de-dupe/de-dupe-button.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; // local components diff --git a/apps/web/ce/components/de-dupe/duplicate-modal/root.tsx b/apps/web/ce/components/de-dupe/duplicate-modal/root.tsx index 6f96f0d8c..577152bee 100644 --- a/apps/web/ce/components/de-dupe/duplicate-modal/root.tsx +++ b/apps/web/ce/components/de-dupe/duplicate-modal/root.tsx @@ -1,5 +1,3 @@ -"use-client"; - import type { FC } from "react"; // types import type { TDeDupeIssue } from "@plane/types"; diff --git a/apps/web/ce/components/de-dupe/duplicate-popover/root.tsx b/apps/web/ce/components/de-dupe/duplicate-popover/root.tsx index a8648b120..957fb01f2 100644 --- a/apps/web/ce/components/de-dupe/duplicate-popover/root.tsx +++ b/apps/web/ce/components/de-dupe/duplicate-popover/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/de-dupe/issue-block/button-label.tsx b/apps/web/ce/components/de-dupe/issue-block/button-label.tsx index 5b6d97546..2ec2b8caa 100644 --- a/apps/web/ce/components/de-dupe/issue-block/button-label.tsx +++ b/apps/web/ce/components/de-dupe/issue-block/button-label.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; type TDeDupeIssueButtonLabelProps = { diff --git a/apps/web/ce/components/epics/epic-modal/modal.tsx b/apps/web/ce/components/epics/epic-modal/modal.tsx index f3749797b..f1dbe83d5 100644 --- a/apps/web/ce/components/epics/epic-modal/modal.tsx +++ b/apps/web/ce/components/epics/epic-modal/modal.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import type { TIssue } from "@plane/types"; diff --git a/apps/web/ce/components/estimates/points/delete.tsx b/apps/web/ce/components/estimates/points/delete.tsx index a86a14ab2..e59dae554 100644 --- a/apps/web/ce/components/estimates/points/delete.tsx +++ b/apps/web/ce/components/estimates/points/delete.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import type { TEstimatePointsObject, TEstimateSystemKeys, TEstimateTypeErrorObject } from "@plane/types"; diff --git a/apps/web/ce/components/estimates/update/modal.tsx b/apps/web/ce/components/estimates/update/modal.tsx index a614f1616..09c6e7649 100644 --- a/apps/web/ce/components/estimates/update/modal.tsx +++ b/apps/web/ce/components/estimates/update/modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/home/peek-overviews.tsx b/apps/web/ce/components/home/peek-overviews.tsx index 042fa6382..9ee24b799 100644 --- a/apps/web/ce/components/home/peek-overviews.tsx +++ b/apps/web/ce/components/home/peek-overviews.tsx @@ -1,5 +1,3 @@ -"use client"; - import { IssuePeekOverview } from "@/components/issues/peek-overview"; export function HomePeekOverviewsRoot() { diff --git a/apps/web/ce/components/issues/filters/applied-filters/issue-types.tsx b/apps/web/ce/components/issues/filters/applied-filters/issue-types.tsx index 6479b4dd6..21047074a 100644 --- a/apps/web/ce/components/issues/filters/applied-filters/issue-types.tsx +++ b/apps/web/ce/components/issues/filters/applied-filters/issue-types.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; type Props = { diff --git a/apps/web/ce/components/issues/filters/issue-types.tsx b/apps/web/ce/components/issues/filters/issue-types.tsx index e262b7912..dc3397e2c 100644 --- a/apps/web/ce/components/issues/filters/issue-types.tsx +++ b/apps/web/ce/components/issues/filters/issue-types.tsx @@ -1,5 +1,3 @@ -"use client"; - import type React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/issues/filters/team-project.tsx b/apps/web/ce/components/issues/filters/team-project.tsx index b96ea9bd7..dd8253190 100644 --- a/apps/web/ce/components/issues/filters/team-project.tsx +++ b/apps/web/ce/components/issues/filters/team-project.tsx @@ -1,5 +1,3 @@ -"use client"; - import type React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/issues/header.tsx b/apps/web/ce/components/issues/header.tsx index c4628ebb7..d540c199d 100644 --- a/apps/web/ce/components/issues/header.tsx +++ b/apps/web/ce/components/issues/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // icons diff --git a/apps/web/ce/components/issues/issue-details/additional-activity-root.tsx b/apps/web/ce/components/issues/issue-details/additional-activity-root.tsx index f7da8c57f..109735645 100644 --- a/apps/web/ce/components/issues/issue-details/additional-activity-root.tsx +++ b/apps/web/ce/components/issues/issue-details/additional-activity-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/issues/issue-details/issue-type-activity.tsx b/apps/web/ce/components/issues/issue-details/issue-type-activity.tsx index 536885549..7eb04be1f 100644 --- a/apps/web/ce/components/issues/issue-details/issue-type-activity.tsx +++ b/apps/web/ce/components/issues/issue-details/issue-type-activity.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/issues/issue-details/parent-select-root.tsx b/apps/web/ce/components/issues/issue-details/parent-select-root.tsx index b673d3889..d606dac81 100644 --- a/apps/web/ce/components/issues/issue-details/parent-select-root.tsx +++ b/apps/web/ce/components/issues/issue-details/parent-select-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/issues/issue-layouts/issue-stats.tsx b/apps/web/ce/components/issues/issue-layouts/issue-stats.tsx index 005783df3..11f34ac1b 100644 --- a/apps/web/ce/components/issues/issue-layouts/issue-stats.tsx +++ b/apps/web/ce/components/issues/issue-layouts/issue-stats.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React from "react"; diff --git a/apps/web/ce/components/issues/worklog/activity/filter-root.tsx b/apps/web/ce/components/issues/worklog/activity/filter-root.tsx index cb0a3ba4f..27b109986 100644 --- a/apps/web/ce/components/issues/worklog/activity/filter-root.tsx +++ b/apps/web/ce/components/issues/worklog/activity/filter-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; // plane imports import type { TActivityFilters, TActivityFilterOption } from "@plane/constants"; diff --git a/apps/web/ce/components/issues/worklog/activity/root.tsx b/apps/web/ce/components/issues/worklog/activity/root.tsx index 5708ac19a..7b5a8ca9a 100644 --- a/apps/web/ce/components/issues/worklog/activity/root.tsx +++ b/apps/web/ce/components/issues/worklog/activity/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import type { TIssueActivityComment } from "@plane/types"; diff --git a/apps/web/ce/components/issues/worklog/activity/worklog-create-button.tsx b/apps/web/ce/components/issues/worklog/activity/worklog-create-button.tsx index c9a0098f0..8e9ac541b 100644 --- a/apps/web/ce/components/issues/worklog/activity/worklog-create-button.tsx +++ b/apps/web/ce/components/issues/worklog/activity/worklog-create-button.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; type TIssueActivityWorklogCreateButton = { diff --git a/apps/web/ce/components/issues/worklog/property/root.tsx b/apps/web/ce/components/issues/worklog/property/root.tsx index 5692557dd..5ab77f3dd 100644 --- a/apps/web/ce/components/issues/worklog/property/root.tsx +++ b/apps/web/ce/components/issues/worklog/property/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; type TIssueWorklogProperty = { diff --git a/apps/web/ce/components/license/modal/upgrade-modal.tsx b/apps/web/ce/components/license/modal/upgrade-modal.tsx index 584d8b6ab..3c83695c7 100644 --- a/apps/web/ce/components/license/modal/upgrade-modal.tsx +++ b/apps/web/ce/components/license/modal/upgrade-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/pages/editor/ai/menu.tsx b/apps/web/ce/components/pages/editor/ai/menu.tsx index 2088d0b77..ac8d74b7a 100644 --- a/apps/web/ce/components/pages/editor/ai/menu.tsx +++ b/apps/web/ce/components/pages/editor/ai/menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useRef, useState } from "react"; import type { LucideIcon } from "lucide-react"; import { CornerDownRight, RefreshCcw, Sparkles, TriangleAlert } from "lucide-react"; diff --git a/apps/web/ce/components/pages/header/collaborators-list.tsx b/apps/web/ce/components/pages/header/collaborators-list.tsx index f4e8f0bfd..6dbd4cf81 100644 --- a/apps/web/ce/components/pages/header/collaborators-list.tsx +++ b/apps/web/ce/components/pages/header/collaborators-list.tsx @@ -1,5 +1,3 @@ -"use client"; - // store import type { TPageInstance } from "@/store/pages/base-page"; diff --git a/apps/web/ce/components/pages/header/lock-control.tsx b/apps/web/ce/components/pages/header/lock-control.tsx index 013f3eef9..c2ee72f6d 100644 --- a/apps/web/ce/components/pages/header/lock-control.tsx +++ b/apps/web/ce/components/pages/header/lock-control.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState, useEffect, useRef } from "react"; import { observer } from "mobx-react"; import { LockKeyhole, LockKeyholeOpen } from "lucide-react"; diff --git a/apps/web/ce/components/pages/header/move-control.tsx b/apps/web/ce/components/pages/header/move-control.tsx index c6aedfb34..dee6b88ba 100644 --- a/apps/web/ce/components/pages/header/move-control.tsx +++ b/apps/web/ce/components/pages/header/move-control.tsx @@ -1,5 +1,3 @@ -"use client"; - // store import type { TPageInstance } from "@/store/pages/base-page"; diff --git a/apps/web/ce/components/pages/header/share-control.tsx b/apps/web/ce/components/pages/header/share-control.tsx index 7e094adc3..3b1910557 100644 --- a/apps/web/ce/components/pages/header/share-control.tsx +++ b/apps/web/ce/components/pages/header/share-control.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { EPageStoreType } from "@/plane-web/hooks/store"; // store import type { TPageInstance } from "@/store/pages/base-page"; diff --git a/apps/web/ce/components/pages/modals/modals.tsx b/apps/web/ce/components/pages/modals/modals.tsx index da59eba89..ddfe5f3d1 100644 --- a/apps/web/ce/components/pages/modals/modals.tsx +++ b/apps/web/ce/components/pages/modals/modals.tsx @@ -1,5 +1,3 @@ -"use client"; - import type React from "react"; import { observer } from "mobx-react"; // components diff --git a/apps/web/ce/components/preferences/theme-switcher.tsx b/apps/web/ce/components/preferences/theme-switcher.tsx index 8e3348f17..3b8906fd9 100644 --- a/apps/web/ce/components/preferences/theme-switcher.tsx +++ b/apps/web/ce/components/preferences/theme-switcher.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useState, useCallback } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/ce/components/projects/create/attributes.tsx b/apps/web/ce/components/projects/create/attributes.tsx index 013492087..a7456089b 100644 --- a/apps/web/ce/components/projects/create/attributes.tsx +++ b/apps/web/ce/components/projects/create/attributes.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import { Controller, useFormContext } from "react-hook-form"; // plane imports diff --git a/apps/web/ce/components/projects/create/root.tsx b/apps/web/ce/components/projects/create/root.tsx index 5363500c0..cc702fdbb 100644 --- a/apps/web/ce/components/projects/create/root.tsx +++ b/apps/web/ce/components/projects/create/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/projects/header.tsx b/apps/web/ce/components/projects/header.tsx index 39d46b4b8..81cde755f 100644 --- a/apps/web/ce/components/projects/header.tsx +++ b/apps/web/ce/components/projects/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { ProjectsBaseHeader } from "@/components/project/header"; export function ProjectsListHeader() { diff --git a/apps/web/ce/components/projects/mobile-header.tsx b/apps/web/ce/components/projects/mobile-header.tsx index 8f9b9e23b..ca7e9f7c3 100644 --- a/apps/web/ce/components/projects/mobile-header.tsx +++ b/apps/web/ce/components/projects/mobile-header.tsx @@ -1,4 +1,3 @@ -"use client"; import { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/ce/components/projects/page.tsx b/apps/web/ce/components/projects/page.tsx index ea7d2815c..64ec67bbe 100644 --- a/apps/web/ce/components/projects/page.tsx +++ b/apps/web/ce/components/projects/page.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/ce/components/projects/settings/intake/header.tsx b/apps/web/ce/components/projects/settings/intake/header.tsx index c00312267..ac6bdc1d8 100644 --- a/apps/web/ce/components/projects/settings/intake/header.tsx +++ b/apps/web/ce/components/projects/settings/intake/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/sidebar/project-navigation-root.tsx b/apps/web/ce/components/sidebar/project-navigation-root.tsx index 6ee972d3e..29f66fd8b 100644 --- a/apps/web/ce/components/sidebar/project-navigation-root.tsx +++ b/apps/web/ce/components/sidebar/project-navigation-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; // components import { ProjectNavigation } from "@/components/workspace/sidebar/project-navigation"; diff --git a/apps/web/ce/components/views/publish/modal.tsx b/apps/web/ce/components/views/publish/modal.tsx index 036d0b114..241e35680 100644 --- a/apps/web/ce/components/views/publish/modal.tsx +++ b/apps/web/ce/components/views/publish/modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { IProjectView } from "@plane/types"; type Props = { diff --git a/apps/web/ce/components/workspace-notifications/notification-card/root.tsx b/apps/web/ce/components/workspace-notifications/notification-card/root.tsx index 37e132354..9b28684de 100644 --- a/apps/web/ce/components/workspace-notifications/notification-card/root.tsx +++ b/apps/web/ce/components/workspace-notifications/notification-card/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/ce/components/workspace/app-switcher.tsx b/apps/web/ce/components/workspace/app-switcher.tsx index a40f3f027..f4f5ce0ff 100644 --- a/apps/web/ce/components/workspace/app-switcher.tsx +++ b/apps/web/ce/components/workspace/app-switcher.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; export function WorkspaceAppSwitcher() { diff --git a/apps/web/ce/components/workspace/billing/billing-actions-button.tsx b/apps/web/ce/components/workspace/billing/billing-actions-button.tsx index edfebb31a..4460eeff3 100644 --- a/apps/web/ce/components/workspace/billing/billing-actions-button.tsx +++ b/apps/web/ce/components/workspace/billing/billing-actions-button.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; export type TBillingActionsButtonProps = { diff --git a/apps/web/ce/components/workspace/content-wrapper.tsx b/apps/web/ce/components/workspace/content-wrapper.tsx index 5d0b111b3..0ae1268cb 100644 --- a/apps/web/ce/components/workspace/content-wrapper.tsx +++ b/apps/web/ce/components/workspace/content-wrapper.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/ce/components/workspace/delete-workspace-modal.tsx b/apps/web/ce/components/workspace/delete-workspace-modal.tsx index 5d0892c2b..ae9fdec9a 100644 --- a/apps/web/ce/components/workspace/delete-workspace-modal.tsx +++ b/apps/web/ce/components/workspace/delete-workspace-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import type { IWorkspace } from "@plane/types"; diff --git a/apps/web/ce/components/workspace/members/invite-modal.tsx b/apps/web/ce/components/workspace/members/invite-modal.tsx index 65ec047ab..a0b72caed 100644 --- a/apps/web/ce/components/workspace/members/invite-modal.tsx +++ b/apps/web/ce/components/workspace/members/invite-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/account/auth-forms/common/container.tsx b/apps/web/core/components/account/auth-forms/common/container.tsx index 91e471b1a..8eff06f64 100644 --- a/apps/web/core/components/account/auth-forms/common/container.tsx +++ b/apps/web/core/components/account/auth-forms/common/container.tsx @@ -1,5 +1,3 @@ -"use client"; - export function FormContainer({ children }: { children: React.ReactNode }) { return (
diff --git a/apps/web/core/components/account/auth-forms/common/header.tsx b/apps/web/core/components/account/auth-forms/common/header.tsx index 338c3693e..fcb53d295 100644 --- a/apps/web/core/components/account/auth-forms/common/header.tsx +++ b/apps/web/core/components/account/auth-forms/common/header.tsx @@ -1,5 +1,3 @@ -"use client"; - export function AuthFormHeader({ title, description }: { title: string; description: string }) { return (
diff --git a/apps/web/core/components/account/auth-forms/email.tsx b/apps/web/core/components/account/auth-forms/email.tsx index 0a98a5c9c..2eacfd8e1 100644 --- a/apps/web/core/components/account/auth-forms/email.tsx +++ b/apps/web/core/components/account/auth-forms/email.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC, FormEvent } from "react"; import { useMemo, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/account/auth-forms/forgot-password.tsx b/apps/web/core/components/account/auth-forms/forgot-password.tsx index 5a557f2ab..4ef067d9c 100644 --- a/apps/web/core/components/account/auth-forms/forgot-password.tsx +++ b/apps/web/core/components/account/auth-forms/forgot-password.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import Link from "next/link"; import { useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/account/auth-forms/form-root.tsx b/apps/web/core/components/account/auth-forms/form-root.tsx index a5964a255..4eacb4704 100644 --- a/apps/web/core/components/account/auth-forms/form-root.tsx +++ b/apps/web/core/components/account/auth-forms/form-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/account/auth-forms/password.tsx b/apps/web/core/components/account/auth-forms/password.tsx index da8981a0a..7e32fca91 100644 --- a/apps/web/core/components/account/auth-forms/password.tsx +++ b/apps/web/core/components/account/auth-forms/password.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useMemo, useRef, useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/account/auth-forms/reset-password.tsx b/apps/web/core/components/account/auth-forms/reset-password.tsx index 71ea222f5..efbbf93c2 100644 --- a/apps/web/core/components/account/auth-forms/reset-password.tsx +++ b/apps/web/core/components/account/auth-forms/reset-password.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/account/auth-forms/set-password.tsx b/apps/web/core/components/account/auth-forms/set-password.tsx index 7d090bfcb..5f9f6a227 100644 --- a/apps/web/core/components/account/auth-forms/set-password.tsx +++ b/apps/web/core/components/account/auth-forms/set-password.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FormEvent } from "react"; import { useEffect, useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/account/auth-forms/unique-code.tsx b/apps/web/core/components/account/auth-forms/unique-code.tsx index dde4dd9e9..6fb21fffe 100644 --- a/apps/web/core/components/account/auth-forms/unique-code.tsx +++ b/apps/web/core/components/account/auth-forms/unique-code.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { CircleCheck, XCircle } from "lucide-react"; import { API_BASE_URL, AUTH_TRACKER_ELEMENTS, AUTH_TRACKER_EVENTS } from "@plane/constants"; diff --git a/apps/web/core/components/account/deactivate-account-modal.tsx b/apps/web/core/components/account/deactivate-account-modal.tsx index c757f08f6..c8a210b6d 100644 --- a/apps/web/core/components/account/deactivate-account-modal.tsx +++ b/apps/web/core/components/account/deactivate-account-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { Trash2 } from "lucide-react"; import { Dialog, Transition } from "@headlessui/react"; diff --git a/apps/web/core/components/analytics/insight-table/data-table.tsx b/apps/web/core/components/analytics/insight-table/data-table.tsx index 8c6468793..45457318f 100644 --- a/apps/web/core/components/analytics/insight-table/data-table.tsx +++ b/apps/web/core/components/analytics/insight-table/data-table.tsx @@ -1,5 +1,3 @@ -"use client"; - import * as React from "react"; import type { ColumnDef, diff --git a/apps/web/core/components/analytics/select/project.tsx b/apps/web/core/components/analytics/select/project.tsx index a1f46c53e..b30d85259 100644 --- a/apps/web/core/components/analytics/select/project.tsx +++ b/apps/web/core/components/analytics/select/project.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane package imports import { Logo } from "@plane/propel/emoji-icon-picker"; diff --git a/apps/web/core/components/analytics/select/select-x-axis.tsx b/apps/web/core/components/analytics/select/select-x-axis.tsx index 4dc282289..56f944a91 100644 --- a/apps/web/core/components/analytics/select/select-x-axis.tsx +++ b/apps/web/core/components/analytics/select/select-x-axis.tsx @@ -1,4 +1,3 @@ -"use client"; // plane package imports import type { ChartXAxisProperty } from "@plane/types"; import { CustomSelect } from "@plane/ui"; diff --git a/apps/web/core/components/analytics/select/select-y-axis.tsx b/apps/web/core/components/analytics/select/select-y-axis.tsx index e526ac539..83fd3b659 100644 --- a/apps/web/core/components/analytics/select/select-y-axis.tsx +++ b/apps/web/core/components/analytics/select/select-y-axis.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import { EEstimateSystem } from "@plane/constants"; diff --git a/apps/web/core/components/api-token/delete-token-modal.tsx b/apps/web/core/components/api-token/delete-token-modal.tsx index a452aaad6..8989150ca 100644 --- a/apps/web/core/components/api-token/delete-token-modal.tsx +++ b/apps/web/core/components/api-token/delete-token-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState } from "react"; import { mutate } from "swr"; diff --git a/apps/web/core/components/api-token/empty-state.tsx b/apps/web/core/components/api-token/empty-state.tsx index 7ea05713d..62ce7cd6c 100644 --- a/apps/web/core/components/api-token/empty-state.tsx +++ b/apps/web/core/components/api-token/empty-state.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/api-token/modal/create-token-modal.tsx b/apps/web/core/components/api-token/modal/create-token-modal.tsx index a2961100c..a87b18d71 100644 --- a/apps/web/core/components/api-token/modal/create-token-modal.tsx +++ b/apps/web/core/components/api-token/modal/create-token-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { mutate } from "swr"; // plane imports diff --git a/apps/web/core/components/api-token/modal/form.tsx b/apps/web/core/components/api-token/modal/form.tsx index e797e1733..4a3b3ac8e 100644 --- a/apps/web/core/components/api-token/modal/form.tsx +++ b/apps/web/core/components/api-token/modal/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { add } from "date-fns"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/api-token/modal/generated-token-details.tsx b/apps/web/core/components/api-token/modal/generated-token-details.tsx index 93f416bff..8fa9c4299 100644 --- a/apps/web/core/components/api-token/modal/generated-token-details.tsx +++ b/apps/web/core/components/api-token/modal/generated-token-details.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Copy } from "lucide-react"; import { useTranslation } from "@plane/i18n"; import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/api-token/token-list-item.tsx b/apps/web/core/components/api-token/token-list-item.tsx index c3a990b96..4b2baa159 100644 --- a/apps/web/core/components/api-token/token-list-item.tsx +++ b/apps/web/core/components/api-token/token-list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { XCircle } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/auth-screens/auth-base.tsx b/apps/web/core/components/auth-screens/auth-base.tsx index 12215e42a..b3b5d361f 100644 --- a/apps/web/core/components/auth-screens/auth-base.tsx +++ b/apps/web/core/components/auth-screens/auth-base.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; import { AuthRoot } from "@/components/account/auth-forms/auth-root"; import type { EAuthModes } from "@/helpers/authentication.helper"; diff --git a/apps/web/core/components/auth-screens/footer.tsx b/apps/web/core/components/auth-screens/footer.tsx index 206af9a96..e35402596 100644 --- a/apps/web/core/components/auth-screens/footer.tsx +++ b/apps/web/core/components/auth-screens/footer.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; import { AccentureLogo, DolbyLogo, SonyLogo, ZerodhaLogo } from "@plane/propel/icons"; diff --git a/apps/web/core/components/auth-screens/header.tsx b/apps/web/core/components/auth-screens/header.tsx index 78c013765..cd7ac7457 100644 --- a/apps/web/core/components/auth-screens/header.tsx +++ b/apps/web/core/components/auth-screens/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/auth-screens/project/join-project.tsx b/apps/web/core/components/auth-screens/project/join-project.tsx index f883f7692..42b131610 100644 --- a/apps/web/core/components/auth-screens/project/join-project.tsx +++ b/apps/web/core/components/auth-screens/project/join-project.tsx @@ -1,4 +1,3 @@ -"use client"; import { useState } from "react"; import { useParams } from "next/navigation"; import { ClipboardList } from "lucide-react"; diff --git a/apps/web/core/components/auth-screens/workspace/not-a-member.tsx b/apps/web/core/components/auth-screens/workspace/not-a-member.tsx index ebaf57c2a..f706844a6 100644 --- a/apps/web/core/components/auth-screens/workspace/not-a-member.tsx +++ b/apps/web/core/components/auth-screens/workspace/not-a-member.tsx @@ -1,5 +1,3 @@ -"use client"; - import Link from "next/link"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/automation/auto-archive-automation.tsx b/apps/web/core/components/automation/auto-archive-automation.tsx index 511a3ed5f..c2bd90cf0 100644 --- a/apps/web/core/components/automation/auto-archive-automation.tsx +++ b/apps/web/core/components/automation/auto-archive-automation.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/automation/auto-close-automation.tsx b/apps/web/core/components/automation/auto-close-automation.tsx index 30ff9f15a..4b1928d55 100644 --- a/apps/web/core/components/automation/auto-close-automation.tsx +++ b/apps/web/core/components/automation/auto-close-automation.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/automation/select-month-modal.tsx b/apps/web/core/components/automation/select-month-modal.tsx index 544e40b72..5ca4d99c4 100644 --- a/apps/web/core/components/automation/select-month-modal.tsx +++ b/apps/web/core/components/automation/select-month-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { useParams } from "next/navigation"; // react-hook-form diff --git a/apps/web/core/components/base-layouts/gantt/layout.tsx b/apps/web/core/components/base-layouts/gantt/layout.tsx index dd2af12e6..b21510c46 100644 --- a/apps/web/core/components/base-layouts/gantt/layout.tsx +++ b/apps/web/core/components/base-layouts/gantt/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; import { GANTT_TIMELINE_TYPE } from "@plane/types"; diff --git a/apps/web/core/components/base-layouts/gantt/sidebar.tsx b/apps/web/core/components/base-layouts/gantt/sidebar.tsx index 635f1d329..cbcecba62 100644 --- a/apps/web/core/components/base-layouts/gantt/sidebar.tsx +++ b/apps/web/core/components/base-layouts/gantt/sidebar.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { RefObject } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/base-layouts/kanban/layout.tsx b/apps/web/core/components/base-layouts/kanban/layout.tsx index e0000a866..1006eb10b 100644 --- a/apps/web/core/components/base-layouts/kanban/layout.tsx +++ b/apps/web/core/components/base-layouts/kanban/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import type { IBaseLayoutsKanbanItem, IBaseLayoutsKanbanProps } from "@plane/types"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/base-layouts/layout-switcher.tsx b/apps/web/core/components/base-layouts/layout-switcher.tsx index a51d2de9b..154d22659 100644 --- a/apps/web/core/components/base-layouts/layout-switcher.tsx +++ b/apps/web/core/components/base-layouts/layout-switcher.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { Tooltip } from "@plane/propel/tooltip"; import type { TBaseLayoutType } from "@plane/types"; diff --git a/apps/web/core/components/base-layouts/list/layout.tsx b/apps/web/core/components/base-layouts/list/layout.tsx index ddde0b149..4b065d3e0 100644 --- a/apps/web/core/components/base-layouts/list/layout.tsx +++ b/apps/web/core/components/base-layouts/list/layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import type { IBaseLayoutsListItem, IBaseLayoutsListProps } from "@plane/types"; import { cn } from "@plane/ui"; diff --git a/apps/web/core/components/comments/card/root.tsx b/apps/web/core/components/comments/card/root.tsx index 313a68c7e..f19f9920b 100644 --- a/apps/web/core/components/comments/card/root.tsx +++ b/apps/web/core/components/comments/card/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/comments/comment-reaction.tsx b/apps/web/core/components/comments/comment-reaction.tsx index f657193f3..be93bc22c 100644 --- a/apps/web/core/components/comments/comment-reaction.tsx +++ b/apps/web/core/components/comments/comment-reaction.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/comments/comments.tsx b/apps/web/core/components/comments/comments.tsx index e3a10c2b0..70d7718f1 100644 --- a/apps/web/core/components/comments/comments.tsx +++ b/apps/web/core/components/comments/comments.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React, { useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/comments/quick-actions.tsx b/apps/web/core/components/comments/quick-actions.tsx index 864202045..32c6786b1 100644 --- a/apps/web/core/components/comments/quick-actions.tsx +++ b/apps/web/core/components/comments/quick-actions.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/common/activity/activity-block.tsx b/apps/web/core/components/common/activity/activity-block.tsx index bb4631b5d..98fbd9611 100644 --- a/apps/web/core/components/common/activity/activity-block.tsx +++ b/apps/web/core/components/common/activity/activity-block.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC, ReactNode } from "react"; import { Network } from "lucide-react"; // types diff --git a/apps/web/core/components/common/activity/activity-item.tsx b/apps/web/core/components/common/activity/activity-item.tsx index 264b08e65..cb4241887 100644 --- a/apps/web/core/components/common/activity/activity-item.tsx +++ b/apps/web/core/components/common/activity/activity-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/common/applied-filters/members.tsx b/apps/web/core/components/common/applied-filters/members.tsx index c0c5ecb36..24fb98bcd 100644 --- a/apps/web/core/components/common/applied-filters/members.tsx +++ b/apps/web/core/components/common/applied-filters/members.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { CloseIcon } from "@plane/propel/icons"; // plane ui diff --git a/apps/web/core/components/common/breadcrumb-link.tsx b/apps/web/core/components/common/breadcrumb-link.tsx index 0b7f576e3..ba523f5fe 100644 --- a/apps/web/core/components/common/breadcrumb-link.tsx +++ b/apps/web/core/components/common/breadcrumb-link.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode, FC } from "react"; import React, { useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/common/count-chip.tsx b/apps/web/core/components/common/count-chip.tsx index db41451c7..21d010e6d 100644 --- a/apps/web/core/components/common/count-chip.tsx +++ b/apps/web/core/components/common/count-chip.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; // import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/common/empty-state.tsx b/apps/web/core/components/common/empty-state.tsx index c71dd7f69..5e71dcbde 100644 --- a/apps/web/core/components/common/empty-state.tsx +++ b/apps/web/core/components/common/empty-state.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; // ui diff --git a/apps/web/core/components/common/filters/created-by.tsx b/apps/web/core/components/common/filters/created-by.tsx index bf574a0c6..df2e0e0a5 100644 --- a/apps/web/core/components/common/filters/created-by.tsx +++ b/apps/web/core/components/common/filters/created-by.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/common/new-empty-state.tsx b/apps/web/core/components/common/new-empty-state.tsx index 43c250e94..49ce37941 100644 --- a/apps/web/core/components/common/new-empty-state.tsx +++ b/apps/web/core/components/common/new-empty-state.tsx @@ -1,4 +1,3 @@ -"use client"; import React, { useState } from "react"; // ui diff --git a/apps/web/core/components/common/pro-icon.tsx b/apps/web/core/components/common/pro-icon.tsx index 1e7856b36..21fa05aed 100644 --- a/apps/web/core/components/common/pro-icon.tsx +++ b/apps/web/core/components/common/pro-icon.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { Crown } from "lucide-react"; // helpers diff --git a/apps/web/core/components/core/activity.tsx b/apps/web/core/components/core/activity.tsx index dd05e20ca..92407ca4d 100644 --- a/apps/web/core/components/core/activity.tsx +++ b/apps/web/core/components/core/activity.tsx @@ -1,4 +1,3 @@ -"use client"; import { useEffect } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/core/app-header.tsx b/apps/web/core/components/core/app-header.tsx index 3c363867f..486b450c1 100644 --- a/apps/web/core/components/core/app-header.tsx +++ b/apps/web/core/components/core/app-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/core/content-wrapper.tsx b/apps/web/core/components/core/content-wrapper.tsx index 394ca84b5..0d0d796be 100644 --- a/apps/web/core/components/core/content-wrapper.tsx +++ b/apps/web/core/components/core/content-wrapper.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; // helpers import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/core/filters/date-filter-modal.tsx b/apps/web/core/components/core/filters/date-filter-modal.tsx index ecd6c6858..4fda9e10c 100644 --- a/apps/web/core/components/core/filters/date-filter-modal.tsx +++ b/apps/web/core/components/core/filters/date-filter-modal.tsx @@ -1,4 +1,3 @@ -"use client"; import { Fragment } from "react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/core/filters/date-filter-select.tsx b/apps/web/core/components/core/filters/date-filter-select.tsx index dea40215d..fe378dded 100644 --- a/apps/web/core/components/core/filters/date-filter-select.tsx +++ b/apps/web/core/components/core/filters/date-filter-select.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; import { CalendarDays } from "lucide-react"; // ui diff --git a/apps/web/core/components/core/image-picker-popover.tsx b/apps/web/core/components/core/image-picker-popover.tsx index ffbbc8bcc..7eefa0d3a 100644 --- a/apps/web/core/components/core/image-picker-popover.tsx +++ b/apps/web/core/components/core/image-picker-popover.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState, useRef, useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/core/list/list-item.tsx b/apps/web/core/components/core/list/list-item.tsx index e1a8cc6cf..c12e02908 100644 --- a/apps/web/core/components/core/list/list-item.tsx +++ b/apps/web/core/components/core/list/list-item.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; // ui diff --git a/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx b/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx index 8bed93c16..a31c74492 100644 --- a/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx +++ b/apps/web/core/components/core/modals/bulk-delete-issues-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/core/modals/existing-issues-list-modal.tsx b/apps/web/core/components/core/modals/existing-issues-list-modal.tsx index 8883cbf5d..019e64be6 100644 --- a/apps/web/core/components/core/modals/existing-issues-list-modal.tsx +++ b/apps/web/core/components/core/modals/existing-issues-list-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState, useRef } from "react"; import { Rocket, Search } from "lucide-react"; import { Combobox, Dialog, Transition } from "@headlessui/react"; diff --git a/apps/web/core/components/core/modals/gpt-assistant-popover.tsx b/apps/web/core/components/core/modals/gpt-assistant-popover.tsx index 71c3fe6e4..4858a5765 100644 --- a/apps/web/core/components/core/modals/gpt-assistant-popover.tsx +++ b/apps/web/core/components/core/modals/gpt-assistant-popover.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Ref } from "react"; import React, { useEffect, useState, useRef, Fragment } from "react"; import type { Placement } from "@popperjs/core"; diff --git a/apps/web/core/components/core/modals/user-image-upload-modal.tsx b/apps/web/core/components/core/modals/user-image-upload-modal.tsx index 1bd2c3557..e70f8f737 100644 --- a/apps/web/core/components/core/modals/user-image-upload-modal.tsx +++ b/apps/web/core/components/core/modals/user-image-upload-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { useDropzone } from "react-dropzone"; diff --git a/apps/web/core/components/core/modals/workspace-image-upload-modal.tsx b/apps/web/core/components/core/modals/workspace-image-upload-modal.tsx index 20d896f9f..d4d0f7d7c 100644 --- a/apps/web/core/components/core/modals/workspace-image-upload-modal.tsx +++ b/apps/web/core/components/core/modals/workspace-image-upload-modal.tsx @@ -1,4 +1,3 @@ -"use client"; import React, { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/core/multiple-select/entity-select-action.tsx b/apps/web/core/components/core/multiple-select/entity-select-action.tsx index 5a1b446f3..31f59e6e2 100644 --- a/apps/web/core/components/core/multiple-select/entity-select-action.tsx +++ b/apps/web/core/components/core/multiple-select/entity-select-action.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // ui import { Checkbox } from "@plane/ui"; diff --git a/apps/web/core/components/core/multiple-select/group-select-action.tsx b/apps/web/core/components/core/multiple-select/group-select-action.tsx index 0a343cfbe..ec67bbac6 100644 --- a/apps/web/core/components/core/multiple-select/group-select-action.tsx +++ b/apps/web/core/components/core/multiple-select/group-select-action.tsx @@ -1,4 +1,3 @@ -"use client"; // ui import { Checkbox } from "@plane/ui"; // helpers diff --git a/apps/web/core/components/core/sidebar/sidebar-menu-hamburger-toggle.tsx b/apps/web/core/components/core/sidebar/sidebar-menu-hamburger-toggle.tsx index 862160a48..6f3cb2ab9 100644 --- a/apps/web/core/components/core/sidebar/sidebar-menu-hamburger-toggle.tsx +++ b/apps/web/core/components/core/sidebar/sidebar-menu-hamburger-toggle.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { PanelRight } from "lucide-react"; import { useAppTheme } from "@/hooks/store/use-app-theme"; diff --git a/apps/web/core/components/core/theme/color-picker-input.tsx b/apps/web/core/components/core/theme/color-picker-input.tsx index eee05fbb7..ddbac128b 100644 --- a/apps/web/core/components/core/theme/color-picker-input.tsx +++ b/apps/web/core/components/core/theme/color-picker-input.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import { Fragment } from "react"; // react-form diff --git a/apps/web/core/components/core/theme/custom-theme-selector.tsx b/apps/web/core/components/core/theme/custom-theme-selector.tsx index 7224cc7b7..3273b74de 100644 --- a/apps/web/core/components/core/theme/custom-theme-selector.tsx +++ b/apps/web/core/components/core/theme/custom-theme-selector.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/core/theme/theme-switch.tsx b/apps/web/core/components/core/theme/theme-switch.tsx index c361d7123..597ee3394 100644 --- a/apps/web/core/components/core/theme/theme-switch.tsx +++ b/apps/web/core/components/core/theme/theme-switch.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; // plane imports import type { I_THEME_OPTION } from "@plane/constants"; diff --git a/apps/web/core/components/cycles/active-cycle/cycle-stats.tsx b/apps/web/core/components/cycles/active-cycle/cycle-stats.tsx index e050b370a..8b8badf8c 100644 --- a/apps/web/core/components/cycles/active-cycle/cycle-stats.tsx +++ b/apps/web/core/components/cycles/active-cycle/cycle-stats.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { Fragment, useCallback, useRef, useState } from "react"; import { isEmpty } from "lodash-es"; diff --git a/apps/web/core/components/cycles/active-cycle/progress.tsx b/apps/web/core/components/cycles/active-cycle/progress.tsx index eb07ab42e..226a4b2ab 100644 --- a/apps/web/core/components/cycles/active-cycle/progress.tsx +++ b/apps/web/core/components/cycles/active-cycle/progress.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/components/cycles/analytics-sidebar/issue-progress.tsx b/apps/web/core/components/cycles/analytics-sidebar/issue-progress.tsx index bee54e9ca..119979e03 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/issue-progress.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/issue-progress.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useMemo } from "react"; import { isEmpty } from "lodash-es"; diff --git a/apps/web/core/components/cycles/analytics-sidebar/progress-stats.tsx b/apps/web/core/components/cycles/analytics-sidebar/progress-stats.tsx index 1a83379b0..722d30e2c 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/progress-stats.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/progress-stats.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { Tab } from "@headlessui/react"; diff --git a/apps/web/core/components/cycles/analytics-sidebar/root.tsx b/apps/web/core/components/cycles/analytics-sidebar/root.tsx index 3b81c056b..af1fd07a1 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/root.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/cycles/analytics-sidebar/sidebar-details.tsx b/apps/web/core/components/cycles/analytics-sidebar/sidebar-details.tsx index ba990b3c3..99b6179e8 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/sidebar-details.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/sidebar-details.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { isEmpty } from "lodash-es"; diff --git a/apps/web/core/components/cycles/analytics-sidebar/sidebar-header.tsx b/apps/web/core/components/cycles/analytics-sidebar/sidebar-header.tsx index 7b1632904..fb03383c5 100644 --- a/apps/web/core/components/cycles/analytics-sidebar/sidebar-header.tsx +++ b/apps/web/core/components/cycles/analytics-sidebar/sidebar-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React, { useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/cycles/archived-cycles/modal.tsx b/apps/web/core/components/cycles/archived-cycles/modal.tsx index 9f7affca8..d7ca5cd03 100644 --- a/apps/web/core/components/cycles/archived-cycles/modal.tsx +++ b/apps/web/core/components/cycles/archived-cycles/modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState, Fragment } from "react"; import { Dialog, Transition } from "@headlessui/react"; // ui diff --git a/apps/web/core/components/cycles/delete-modal.tsx b/apps/web/core/components/cycles/delete-modal.tsx index bddd5eaac..c9bb1a85f 100644 --- a/apps/web/core/components/cycles/delete-modal.tsx +++ b/apps/web/core/components/cycles/delete-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { useParams, useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/cycles/form.tsx b/apps/web/core/components/cycles/form.tsx index 34855763b..23097393c 100644 --- a/apps/web/core/components/cycles/form.tsx +++ b/apps/web/core/components/cycles/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { Controller, useForm } from "react-hook-form"; // plane imports diff --git a/apps/web/core/components/cycles/list/cycle-list-group-header.tsx b/apps/web/core/components/cycles/list/cycle-list-group-header.tsx index 7df122b2d..e292582f7 100644 --- a/apps/web/core/components/cycles/list/cycle-list-group-header.tsx +++ b/apps/web/core/components/cycles/list/cycle-list-group-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React from "react"; // types diff --git a/apps/web/core/components/cycles/list/cycle-list-item-action.tsx b/apps/web/core/components/cycles/list/cycle-list-item-action.tsx index 6317732d8..5415acf55 100644 --- a/apps/web/core/components/cycles/list/cycle-list-item-action.tsx +++ b/apps/web/core/components/cycles/list/cycle-list-item-action.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC, MouseEvent } from "react"; import React, { useEffect, useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/cycles/list/cycle-list-project-group-header.tsx b/apps/web/core/components/cycles/list/cycle-list-project-group-header.tsx index c5fe15fad..73cd06b2a 100644 --- a/apps/web/core/components/cycles/list/cycle-list-project-group-header.tsx +++ b/apps/web/core/components/cycles/list/cycle-list-project-group-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/cycles/list/cycles-list-item.tsx b/apps/web/core/components/cycles/list/cycles-list-item.tsx index 1149ae8ca..44d8e1719 100644 --- a/apps/web/core/components/cycles/list/cycles-list-item.tsx +++ b/apps/web/core/components/cycles/list/cycles-list-item.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC, MouseEvent } from "react"; import { useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/cycles/modal.tsx b/apps/web/core/components/cycles/modal.tsx index 1e3819633..1a6855c13 100644 --- a/apps/web/core/components/cycles/modal.tsx +++ b/apps/web/core/components/cycles/modal.tsx @@ -1,4 +1,3 @@ -"use client"; import React, { useEffect, useState } from "react"; import { mutate } from "swr"; // types diff --git a/apps/web/core/components/cycles/quick-actions.tsx b/apps/web/core/components/cycles/quick-actions.tsx index 128a302bb..a7ff2298e 100644 --- a/apps/web/core/components/cycles/quick-actions.tsx +++ b/apps/web/core/components/cycles/quick-actions.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/cycles/transfer-issues-modal.tsx b/apps/web/core/components/cycles/transfer-issues-modal.tsx index e03d83d29..896f44001 100644 --- a/apps/web/core/components/cycles/transfer-issues-modal.tsx +++ b/apps/web/core/components/cycles/transfer-issues-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/cycles/transfer-issues.tsx b/apps/web/core/components/cycles/transfer-issues.tsx index e612e6584..e03d729b1 100644 --- a/apps/web/core/components/cycles/transfer-issues.tsx +++ b/apps/web/core/components/cycles/transfer-issues.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; import { AlertCircle } from "lucide-react"; // ui diff --git a/apps/web/core/components/dropdowns/buttons.tsx b/apps/web/core/components/dropdowns/buttons.tsx index f77ad8ca6..a1e142f88 100644 --- a/apps/web/core/components/dropdowns/buttons.tsx +++ b/apps/web/core/components/dropdowns/buttons.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; // helpers import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/dropdowns/cycle/cycle-options.tsx b/apps/web/core/components/dropdowns/cycle/cycle-options.tsx index dcbb80c54..651f6421e 100644 --- a/apps/web/core/components/dropdowns/cycle/cycle-options.tsx +++ b/apps/web/core/components/dropdowns/cycle/cycle-options.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useEffect, useRef, useState } from "react"; import type { Placement } from "@popperjs/core"; diff --git a/apps/web/core/components/dropdowns/cycle/index.tsx b/apps/web/core/components/dropdowns/cycle/index.tsx index fbfe654e9..aba1d97e5 100644 --- a/apps/web/core/components/dropdowns/cycle/index.tsx +++ b/apps/web/core/components/dropdowns/cycle/index.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; import { useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/date-range.tsx b/apps/web/core/components/dropdowns/date-range.tsx index bc579b9e4..99f5e9a23 100644 --- a/apps/web/core/components/dropdowns/date-range.tsx +++ b/apps/web/core/components/dropdowns/date-range.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useRef, useState } from "react"; import type { Placement } from "@popperjs/core"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/date.tsx b/apps/web/core/components/dropdowns/date.tsx index 6bc0553d1..dd79b243e 100644 --- a/apps/web/core/components/dropdowns/date.tsx +++ b/apps/web/core/components/dropdowns/date.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useRef, useState } from "react"; import { observer } from "mobx-react"; import { createPortal } from "react-dom"; diff --git a/apps/web/core/components/dropdowns/member/avatar.tsx b/apps/web/core/components/dropdowns/member/avatar.tsx index f406d386b..3ca658c81 100644 --- a/apps/web/core/components/dropdowns/member/avatar.tsx +++ b/apps/web/core/components/dropdowns/member/avatar.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import type { LucideIcon } from "lucide-react"; import { MembersPropertyIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/dropdowns/member/member-options.tsx b/apps/web/core/components/dropdowns/member/member-options.tsx index 1c4af7eee..ffc98b3e8 100644 --- a/apps/web/core/components/dropdowns/member/member-options.tsx +++ b/apps/web/core/components/dropdowns/member/member-options.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef, useState } from "react"; import type { Placement } from "@popperjs/core"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/module/base.tsx b/apps/web/core/components/dropdowns/module/base.tsx index 886f98d2a..d25c88aa1 100644 --- a/apps/web/core/components/dropdowns/module/base.tsx +++ b/apps/web/core/components/dropdowns/module/base.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; import { useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/module/button-content.tsx b/apps/web/core/components/dropdowns/module/button-content.tsx index cdcb1745d..c90bda211 100644 --- a/apps/web/core/components/dropdowns/module/button-content.tsx +++ b/apps/web/core/components/dropdowns/module/button-content.tsx @@ -1,5 +1,3 @@ -"use client"; - // plane imports import { CloseIcon, ModuleIcon, ChevronDownIcon } from "@plane/propel/icons"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/dropdowns/module/dropdown.tsx b/apps/web/core/components/dropdowns/module/dropdown.tsx index 3e73545f4..40fad645d 100644 --- a/apps/web/core/components/dropdowns/module/dropdown.tsx +++ b/apps/web/core/components/dropdowns/module/dropdown.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/dropdowns/module/module-options.tsx b/apps/web/core/components/dropdowns/module/module-options.tsx index da9f39ad1..68a4c064a 100644 --- a/apps/web/core/components/dropdowns/module/module-options.tsx +++ b/apps/web/core/components/dropdowns/module/module-options.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef, useState } from "react"; import type { Placement } from "@popperjs/core"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/priority.tsx b/apps/web/core/components/dropdowns/priority.tsx index 0608f94bd..881fde676 100644 --- a/apps/web/core/components/dropdowns/priority.tsx +++ b/apps/web/core/components/dropdowns/priority.tsx @@ -1,4 +1,3 @@ -"use client"; import type { ReactNode } from "react"; import { Fragment, useRef, useState } from "react"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/components/dropdowns/state/base.tsx b/apps/web/core/components/dropdowns/state/base.tsx index fbe05a3ec..add4bcc28 100644 --- a/apps/web/core/components/dropdowns/state/base.tsx +++ b/apps/web/core/components/dropdowns/state/base.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; import { useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/dropdowns/state/dropdown.tsx b/apps/web/core/components/dropdowns/state/dropdown.tsx index c51b2a633..d7fe55fe1 100644 --- a/apps/web/core/components/dropdowns/state/dropdown.tsx +++ b/apps/web/core/components/dropdowns/state/dropdown.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/editor/lite-text/toolbar.tsx b/apps/web/core/components/editor/lite-text/toolbar.tsx index c6941c6e6..a5b96b0db 100644 --- a/apps/web/core/components/editor/lite-text/toolbar.tsx +++ b/apps/web/core/components/editor/lite-text/toolbar.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState, useCallback } from "react"; import type { LucideIcon } from "lucide-react"; import { Globe2, Lock } from "lucide-react"; diff --git a/apps/web/core/components/editor/pdf/document.tsx b/apps/web/core/components/editor/pdf/document.tsx index 4a1a9ea42..a1d5b12ad 100644 --- a/apps/web/core/components/editor/pdf/document.tsx +++ b/apps/web/core/components/editor/pdf/document.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { PageProps } from "@react-pdf/renderer"; import { Document, Font, Page } from "@react-pdf/renderer"; import { Html } from "react-pdf-html"; diff --git a/apps/web/core/components/editor/rich-text/description-input/root.tsx b/apps/web/core/components/editor/rich-text/description-input/root.tsx index dc865aaf1..57d167fe8 100644 --- a/apps/web/core/components/editor/rich-text/description-input/root.tsx +++ b/apps/web/core/components/editor/rich-text/description-input/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useEffect, useState, useRef } from "react"; import { debounce } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/editor/sticky-editor/toolbar.tsx b/apps/web/core/components/editor/sticky-editor/toolbar.tsx index 25ba27e30..4025c63e6 100644 --- a/apps/web/core/components/editor/sticky-editor/toolbar.tsx +++ b/apps/web/core/components/editor/sticky-editor/toolbar.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState, useCallback } from "react"; import { Palette, Trash2 } from "lucide-react"; // editor diff --git a/apps/web/core/components/empty-state/comic-box-button.tsx b/apps/web/core/components/empty-state/comic-box-button.tsx index a61f30e80..93a0c05f8 100644 --- a/apps/web/core/components/empty-state/comic-box-button.tsx +++ b/apps/web/core/components/empty-state/comic-box-button.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Ref } from "react"; import { Fragment, useState } from "react"; import { usePopper } from "react-popper"; diff --git a/apps/web/core/components/empty-state/detailed-empty-state-root.tsx b/apps/web/core/components/empty-state/detailed-empty-state-root.tsx index e32323ef6..7cfbe0e31 100644 --- a/apps/web/core/components/empty-state/detailed-empty-state-root.tsx +++ b/apps/web/core/components/empty-state/detailed-empty-state-root.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/web/core/components/empty-state/section-empty-state-root.tsx b/apps/web/core/components/empty-state/section-empty-state-root.tsx index 5a414ec5a..978a79526 100644 --- a/apps/web/core/components/empty-state/section-empty-state-root.tsx +++ b/apps/web/core/components/empty-state/section-empty-state-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/empty-state/simple-empty-state-root.tsx b/apps/web/core/components/empty-state/simple-empty-state-root.tsx index 50f6723d9..871736a50 100644 --- a/apps/web/core/components/empty-state/simple-empty-state-root.tsx +++ b/apps/web/core/components/empty-state/simple-empty-state-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // utils import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/estimates/create/modal.tsx b/apps/web/core/components/estimates/create/modal.tsx index ae16dc7d7..3d223c363 100644 --- a/apps/web/core/components/estimates/create/modal.tsx +++ b/apps/web/core/components/estimates/create/modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useEffect, useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/estimates/create/stage-one.tsx b/apps/web/core/components/estimates/create/stage-one.tsx index 7a9631662..08b13d26d 100644 --- a/apps/web/core/components/estimates/create/stage-one.tsx +++ b/apps/web/core/components/estimates/create/stage-one.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { Info } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/estimates/delete/modal.tsx b/apps/web/core/components/estimates/delete/modal.tsx index 69b00adbc..681a59566 100644 --- a/apps/web/core/components/estimates/delete/modal.tsx +++ b/apps/web/core/components/estimates/delete/modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/estimates/empty-screen.tsx b/apps/web/core/components/estimates/empty-screen.tsx index 6ca8205dd..570168ced 100644 --- a/apps/web/core/components/estimates/empty-screen.tsx +++ b/apps/web/core/components/estimates/empty-screen.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useTheme } from "next-themes"; import { PROJECT_SETTINGS_TRACKER_ELEMENTS, PROJECT_SETTINGS_TRACKER_EVENTS } from "@plane/constants"; diff --git a/apps/web/core/components/estimates/estimate-disable-switch.tsx b/apps/web/core/components/estimates/estimate-disable-switch.tsx index 10ed72dd4..705ecfcb4 100644 --- a/apps/web/core/components/estimates/estimate-disable-switch.tsx +++ b/apps/web/core/components/estimates/estimate-disable-switch.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { PROJECT_SETTINGS_TRACKER_ELEMENTS, PROJECT_SETTINGS_TRACKER_EVENTS } from "@plane/constants"; diff --git a/apps/web/core/components/estimates/loader-screen.tsx b/apps/web/core/components/estimates/loader-screen.tsx index 3dc159ed1..29474b9c9 100644 --- a/apps/web/core/components/estimates/loader-screen.tsx +++ b/apps/web/core/components/estimates/loader-screen.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/estimates/points/create-root.tsx b/apps/web/core/components/estimates/points/create-root.tsx index 2a736d260..dab1b6bb5 100644 --- a/apps/web/core/components/estimates/points/create-root.tsx +++ b/apps/web/core/components/estimates/points/create-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Dispatch, FC, SetStateAction } from "react"; import { useCallback, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/estimates/points/create.tsx b/apps/web/core/components/estimates/points/create.tsx index 9b585293f..b14c69b49 100644 --- a/apps/web/core/components/estimates/points/create.tsx +++ b/apps/web/core/components/estimates/points/create.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC, FormEvent } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/estimates/points/update.tsx b/apps/web/core/components/estimates/points/update.tsx index 0c682512a..acb4f72e6 100644 --- a/apps/web/core/components/estimates/points/update.tsx +++ b/apps/web/core/components/estimates/points/update.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC, FormEvent } from "react"; import { useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/exporter/export-modal.tsx b/apps/web/core/components/exporter/export-modal.tsx index b06181c4c..28f6fa40d 100644 --- a/apps/web/core/components/exporter/export-modal.tsx +++ b/apps/web/core/components/exporter/export-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { intersection } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/exporter/guide.tsx b/apps/web/core/components/exporter/guide.tsx index c3bcf8d37..f454f1779 100644 --- a/apps/web/core/components/exporter/guide.tsx +++ b/apps/web/core/components/exporter/guide.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { useParams, useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/exporter/single-export.tsx b/apps/web/core/components/exporter/single-export.tsx index e34f7fcf0..32b0bce57 100644 --- a/apps/web/core/components/exporter/single-export.tsx +++ b/apps/web/core/components/exporter/single-export.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState } from "react"; // ui diff --git a/apps/web/core/components/gantt-chart/helpers/add-block.tsx b/apps/web/core/components/gantt-chart/helpers/add-block.tsx index 10d179c7a..05ff5c709 100644 --- a/apps/web/core/components/gantt-chart/helpers/add-block.tsx +++ b/apps/web/core/components/gantt-chart/helpers/add-block.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef, useState } from "react"; import { addDays } from "date-fns"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/gantt-chart/sidebar/gantt-dnd-HOC.tsx b/apps/web/core/components/gantt-chart/sidebar/gantt-dnd-HOC.tsx index 3341fcb87..5d09cf507 100644 --- a/apps/web/core/components/gantt-chart/sidebar/gantt-dnd-HOC.tsx +++ b/apps/web/core/components/gantt-chart/sidebar/gantt-dnd-HOC.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { draggable, dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/core/components/gantt-chart/sidebar/issues/sidebar.tsx b/apps/web/core/components/gantt-chart/sidebar/issues/sidebar.tsx index 39e862862..c58ef8bd0 100644 --- a/apps/web/core/components/gantt-chart/sidebar/issues/sidebar.tsx +++ b/apps/web/core/components/gantt-chart/sidebar/issues/sidebar.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { RefObject } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/gantt-chart/sidebar/modules/sidebar.tsx b/apps/web/core/components/gantt-chart/sidebar/modules/sidebar.tsx index c24066e36..1e8373f57 100644 --- a/apps/web/core/components/gantt-chart/sidebar/modules/sidebar.tsx +++ b/apps/web/core/components/gantt-chart/sidebar/modules/sidebar.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // ui import { GANTT_TIMELINE_TYPE } from "@plane/types"; diff --git a/apps/web/core/components/global/timezone-select.tsx b/apps/web/core/components/global/timezone-select.tsx index 1be8a08be..36a60581c 100644 --- a/apps/web/core/components/global/timezone-select.tsx +++ b/apps/web/core/components/global/timezone-select.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { CustomSearchSelect } from "@plane/ui"; diff --git a/apps/web/core/components/home/widgets/links/create-update-link-modal.tsx b/apps/web/core/components/home/widgets/links/create-update-link-modal.tsx index 6ac53d99f..00e515f12 100644 --- a/apps/web/core/components/home/widgets/links/create-update-link-modal.tsx +++ b/apps/web/core/components/home/widgets/links/create-update-link-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/home/widgets/links/link-detail.tsx b/apps/web/core/components/home/widgets/links/link-detail.tsx index c6ad9f0a2..bc94493e3 100644 --- a/apps/web/core/components/home/widgets/links/link-detail.tsx +++ b/apps/web/core/components/home/widgets/links/link-detail.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; import { Pencil, ExternalLink, Link, Trash2 } from "lucide-react"; diff --git a/apps/web/core/components/home/widgets/loaders/home-loader.tsx b/apps/web/core/components/home/widgets/loaders/home-loader.tsx index 38b234da2..958801077 100644 --- a/apps/web/core/components/home/widgets/loaders/home-loader.tsx +++ b/apps/web/core/components/home/widgets/loaders/home-loader.tsx @@ -1,5 +1,3 @@ -"use client"; - import { range } from "lodash-es"; // ui import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/home/widgets/loaders/quick-links.tsx b/apps/web/core/components/home/widgets/loaders/quick-links.tsx index bfe46d1fd..e58aa6c4b 100644 --- a/apps/web/core/components/home/widgets/loaders/quick-links.tsx +++ b/apps/web/core/components/home/widgets/loaders/quick-links.tsx @@ -1,5 +1,3 @@ -"use client"; - import { range } from "lodash-es"; // ui import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/home/widgets/loaders/recent-activity.tsx b/apps/web/core/components/home/widgets/loaders/recent-activity.tsx index 5c275a9a6..f00822ce5 100644 --- a/apps/web/core/components/home/widgets/loaders/recent-activity.tsx +++ b/apps/web/core/components/home/widgets/loaders/recent-activity.tsx @@ -1,5 +1,3 @@ -"use client"; - import { range } from "lodash-es"; // ui import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/home/widgets/manage/index.tsx b/apps/web/core/components/home/widgets/manage/index.tsx index 3cddd456d..152ce60f9 100644 --- a/apps/web/core/components/home/widgets/manage/index.tsx +++ b/apps/web/core/components/home/widgets/manage/index.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; // plane types diff --git a/apps/web/core/components/home/widgets/manage/widget-item-drag-handle.tsx b/apps/web/core/components/home/widgets/manage/widget-item-drag-handle.tsx index 0a6dfa6a8..91272037c 100644 --- a/apps/web/core/components/home/widgets/manage/widget-item-drag-handle.tsx +++ b/apps/web/core/components/home/widgets/manage/widget-item-drag-handle.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/home/widgets/manage/widget-item.tsx b/apps/web/core/components/home/widgets/manage/widget-item.tsx index d8613762c..8a421aa20 100644 --- a/apps/web/core/components/home/widgets/manage/widget-item.tsx +++ b/apps/web/core/components/home/widgets/manage/widget-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React, { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/home/widgets/recents/filters.tsx b/apps/web/core/components/home/widgets/recents/filters.tsx index bdbc4da0c..ac8ea25b5 100644 --- a/apps/web/core/components/home/widgets/recents/filters.tsx +++ b/apps/web/core/components/home/widgets/recents/filters.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/home/widgets/recents/index.tsx b/apps/web/core/components/home/widgets/recents/index.tsx index 3493ae5f3..fad814476 100644 --- a/apps/web/core/components/home/widgets/recents/index.tsx +++ b/apps/web/core/components/home/widgets/recents/index.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useRef, useState } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/inbox/content/inbox-issue-header.tsx b/apps/web/core/components/inbox/content/inbox-issue-header.tsx index 26e0debf2..43a86763c 100644 --- a/apps/web/core/components/inbox/content/inbox-issue-header.tsx +++ b/apps/web/core/components/inbox/content/inbox-issue-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useCallback, useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx b/apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx index ad679d743..114f95fb7 100644 --- a/apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx +++ b/apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import { CircleCheck, CircleX, Clock, ExternalLink, FileStack, Link, Trash2, PanelLeft, MoveRight } from "lucide-react"; diff --git a/apps/web/core/components/inbox/content/issue-properties.tsx b/apps/web/core/components/inbox/content/issue-properties.tsx index 589bf503b..20d1915ee 100644 --- a/apps/web/core/components/inbox/content/issue-properties.tsx +++ b/apps/web/core/components/inbox/content/issue-properties.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import { diff --git a/apps/web/core/components/inbox/content/issue-root.tsx b/apps/web/core/components/inbox/content/issue-root.tsx index 30618e48c..473c257cc 100644 --- a/apps/web/core/components/inbox/content/issue-root.tsx +++ b/apps/web/core/components/inbox/content/issue-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Dispatch, SetStateAction } from "react"; import { useEffect, useMemo, useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/inbox-filter/applied-filters/member.tsx b/apps/web/core/components/inbox/inbox-filter/applied-filters/member.tsx index 9e04f9d2f..94c6a69f0 100644 --- a/apps/web/core/components/inbox/inbox-filter/applied-filters/member.tsx +++ b/apps/web/core/components/inbox/inbox-filter/applied-filters/member.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/inbox-filter/applied-filters/priority.tsx b/apps/web/core/components/inbox/inbox-filter/applied-filters/priority.tsx index ff806bffb..e3343fd3f 100644 --- a/apps/web/core/components/inbox/inbox-filter/applied-filters/priority.tsx +++ b/apps/web/core/components/inbox/inbox-filter/applied-filters/priority.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { ISSUE_PRIORITIES } from "@plane/constants"; diff --git a/apps/web/core/components/inbox/inbox-filter/applied-filters/state.tsx b/apps/web/core/components/inbox/inbox-filter/applied-filters/state.tsx index 75aac595a..9bb83b490 100644 --- a/apps/web/core/components/inbox/inbox-filter/applied-filters/state.tsx +++ b/apps/web/core/components/inbox/inbox-filter/applied-filters/state.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { EIconSize } from "@plane/constants"; diff --git a/apps/web/core/components/inbox/inbox-filter/filters/labels.tsx b/apps/web/core/components/inbox/inbox-filter/filters/labels.tsx index 0baf74895..dcaa22c74 100644 --- a/apps/web/core/components/inbox/inbox-filter/filters/labels.tsx +++ b/apps/web/core/components/inbox/inbox-filter/filters/labels.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/inbox-filter/filters/members.tsx b/apps/web/core/components/inbox/inbox-filter/filters/members.tsx index 59f008073..43bd2fe86 100644 --- a/apps/web/core/components/inbox/inbox-filter/filters/members.tsx +++ b/apps/web/core/components/inbox/inbox-filter/filters/members.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; diff --git a/apps/web/core/components/inbox/inbox-filter/filters/priority.tsx b/apps/web/core/components/inbox/inbox-filter/filters/priority.tsx index edcfcc674..3b58059fd 100644 --- a/apps/web/core/components/inbox/inbox-filter/filters/priority.tsx +++ b/apps/web/core/components/inbox/inbox-filter/filters/priority.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/inbox-filter/filters/state.tsx b/apps/web/core/components/inbox/inbox-filter/filters/state.tsx index e29af9a32..414ef14de 100644 --- a/apps/web/core/components/inbox/inbox-filter/filters/state.tsx +++ b/apps/web/core/components/inbox/inbox-filter/filters/state.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/inbox-filter/sorting/order-by.tsx b/apps/web/core/components/inbox/inbox-filter/sorting/order-by.tsx index ad43c9ef5..e343f51b3 100644 --- a/apps/web/core/components/inbox/inbox-filter/sorting/order-by.tsx +++ b/apps/web/core/components/inbox/inbox-filter/sorting/order-by.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { ArrowDownWideNarrow, ArrowUpWideNarrow, Check } from "lucide-react"; diff --git a/apps/web/core/components/inbox/modals/create-modal/create-root.tsx b/apps/web/core/components/inbox/modals/create-modal/create-root.tsx index 878489fdf..395ac60a3 100644 --- a/apps/web/core/components/inbox/modals/create-modal/create-root.tsx +++ b/apps/web/core/components/inbox/modals/create-modal/create-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC, FormEvent } from "react"; import { useCallback, useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/inbox/modals/create-modal/issue-description.tsx b/apps/web/core/components/inbox/modals/create-modal/issue-description.tsx index 144fa1089..536518cf5 100644 --- a/apps/web/core/components/inbox/modals/create-modal/issue-description.tsx +++ b/apps/web/core/components/inbox/modals/create-modal/issue-description.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC, RefObject } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/inbox/modals/create-modal/issue-title.tsx b/apps/web/core/components/inbox/modals/create-modal/issue-title.tsx index 4e06be991..69b618716 100644 --- a/apps/web/core/components/inbox/modals/create-modal/issue-title.tsx +++ b/apps/web/core/components/inbox/modals/create-modal/issue-title.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/inbox/modals/create-modal/modal.tsx b/apps/web/core/components/inbox/modals/create-modal/modal.tsx index 80347958e..9c3eff145 100644 --- a/apps/web/core/components/inbox/modals/create-modal/modal.tsx +++ b/apps/web/core/components/inbox/modals/create-modal/modal.tsx @@ -1,5 +1,3 @@ -"use-client"; - import type { FC } from "react"; import { useState } from "react"; // plane imports diff --git a/apps/web/core/components/inbox/modals/select-duplicate.tsx b/apps/web/core/components/inbox/modals/select-duplicate.tsx index 983757af7..988b60446 100644 --- a/apps/web/core/components/inbox/modals/select-duplicate.tsx +++ b/apps/web/core/components/inbox/modals/select-duplicate.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { useParams } from "next/navigation"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/components/inbox/modals/snooze-issue-modal.tsx b/apps/web/core/components/inbox/modals/snooze-issue-modal.tsx index cf6e5d65a..e90bfe8a8 100644 --- a/apps/web/core/components/inbox/modals/snooze-issue-modal.tsx +++ b/apps/web/core/components/inbox/modals/snooze-issue-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { Fragment, useState } from "react"; import { Dialog, Transition } from "@headlessui/react"; diff --git a/apps/web/core/components/inbox/sidebar/inbox-list-item.tsx b/apps/web/core/components/inbox/sidebar/inbox-list-item.tsx index eda8c0e28..8ff1a73a8 100644 --- a/apps/web/core/components/inbox/sidebar/inbox-list-item.tsx +++ b/apps/web/core/components/inbox/sidebar/inbox-list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC, MouseEvent } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/inbox/sidebar/root.tsx b/apps/web/core/components/inbox/sidebar/root.tsx index b91e3118c..027edfa76 100644 --- a/apps/web/core/components/inbox/sidebar/root.tsx +++ b/apps/web/core/components/inbox/sidebar/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useCallback, useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/instance/maintenance-view.tsx b/apps/web/core/components/instance/maintenance-view.tsx index 830ae4739..9c88af500 100644 --- a/apps/web/core/components/instance/maintenance-view.tsx +++ b/apps/web/core/components/instance/maintenance-view.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useTheme } from "next-themes"; // assets diff --git a/apps/web/core/components/instance/not-ready-view.tsx b/apps/web/core/components/instance/not-ready-view.tsx index 1b3c6938b..e86b36470 100644 --- a/apps/web/core/components/instance/not-ready-view.tsx +++ b/apps/web/core/components/instance/not-ready-view.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import Link from "next/link"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/components/integration/delete-import-modal.tsx b/apps/web/core/components/integration/delete-import-modal.tsx index 289a7732e..56993f1f8 100644 --- a/apps/web/core/components/integration/delete-import-modal.tsx +++ b/apps/web/core/components/integration/delete-import-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/integration/github/auth.tsx b/apps/web/core/components/integration/github/auth.tsx index 7a8ab9312..60ed2e35f 100644 --- a/apps/web/core/components/integration/github/auth.tsx +++ b/apps/web/core/components/integration/github/auth.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // types import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/integration/github/import-configure.tsx b/apps/web/core/components/integration/github/import-configure.tsx index d880cd653..c12d60b5f 100644 --- a/apps/web/core/components/integration/github/import-configure.tsx +++ b/apps/web/core/components/integration/github/import-configure.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import { Button } from "@plane/propel/button"; import type { IAppIntegration, IWorkspaceIntegration } from "@plane/types"; diff --git a/apps/web/core/components/integration/github/import-confirm.tsx b/apps/web/core/components/integration/github/import-confirm.tsx index ce8e80d1b..8eb89eadf 100644 --- a/apps/web/core/components/integration/github/import-confirm.tsx +++ b/apps/web/core/components/integration/github/import-confirm.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; // react-hook-form diff --git a/apps/web/core/components/integration/github/import-data.tsx b/apps/web/core/components/integration/github/import-data.tsx index e98837096..49de9edb9 100644 --- a/apps/web/core/components/integration/github/import-data.tsx +++ b/apps/web/core/components/integration/github/import-data.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import type { Control, UseFormWatch } from "react-hook-form"; diff --git a/apps/web/core/components/integration/github/import-users.tsx b/apps/web/core/components/integration/github/import-users.tsx index c915ea525..9c3012e55 100644 --- a/apps/web/core/components/integration/github/import-users.tsx +++ b/apps/web/core/components/integration/github/import-users.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; // react-hook-form diff --git a/apps/web/core/components/integration/github/repo-details.tsx b/apps/web/core/components/integration/github/repo-details.tsx index f7595ec78..d0413f13d 100644 --- a/apps/web/core/components/integration/github/repo-details.tsx +++ b/apps/web/core/components/integration/github/repo-details.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useEffect } from "react"; diff --git a/apps/web/core/components/integration/github/root.tsx b/apps/web/core/components/integration/github/root.tsx index 544defd25..7dfb51c1f 100644 --- a/apps/web/core/components/integration/github/root.tsx +++ b/apps/web/core/components/integration/github/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import Link from "next/link"; import { useParams, useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/integration/github/select-repository.tsx b/apps/web/core/components/integration/github/select-repository.tsx index 09535aa25..2681cd062 100644 --- a/apps/web/core/components/integration/github/select-repository.tsx +++ b/apps/web/core/components/integration/github/select-repository.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { useParams } from "next/navigation"; import useSWRInfinite from "swr/infinite"; diff --git a/apps/web/core/components/integration/github/single-user-select.tsx b/apps/web/core/components/integration/github/single-user-select.tsx index 4afe792c5..d42419071 100644 --- a/apps/web/core/components/integration/github/single-user-select.tsx +++ b/apps/web/core/components/integration/github/single-user-select.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useParams } from "next/navigation"; import useSWR from "swr"; // plane types diff --git a/apps/web/core/components/integration/guide.tsx b/apps/web/core/components/integration/guide.tsx index 68ee29562..39038d4a7 100644 --- a/apps/web/core/components/integration/guide.tsx +++ b/apps/web/core/components/integration/guide.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/integration/jira/give-details.tsx b/apps/web/core/components/integration/jira/give-details.tsx index 2b1a51a63..248961ef8 100644 --- a/apps/web/core/components/integration/jira/give-details.tsx +++ b/apps/web/core/components/integration/jira/give-details.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/integration/jira/import-users.tsx b/apps/web/core/components/integration/jira/import-users.tsx index 7c0589799..0fd32f613 100644 --- a/apps/web/core/components/integration/jira/import-users.tsx +++ b/apps/web/core/components/integration/jira/import-users.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useParams } from "next/navigation"; import { useFormContext, useFieldArray, Controller } from "react-hook-form"; diff --git a/apps/web/core/components/integration/jira/jira-project-detail.tsx b/apps/web/core/components/integration/jira/jira-project-detail.tsx index 8f42caf70..f521c7b6a 100644 --- a/apps/web/core/components/integration/jira/jira-project-detail.tsx +++ b/apps/web/core/components/integration/jira/jira-project-detail.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect } from "react"; // next diff --git a/apps/web/core/components/integration/jira/root.tsx b/apps/web/core/components/integration/jira/root.tsx index 40e932e0c..0ccbe96d0 100644 --- a/apps/web/core/components/integration/jira/root.tsx +++ b/apps/web/core/components/integration/jira/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import Link from "next/link"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/integration/single-import.tsx b/apps/web/core/components/integration/single-import.tsx index 0d4508368..f1ae212f2 100644 --- a/apps/web/core/components/integration/single-import.tsx +++ b/apps/web/core/components/integration/single-import.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Trash2 } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/integration/single-integration-card.tsx b/apps/web/core/components/integration/single-integration-card.tsx index 909597696..01f053680 100644 --- a/apps/web/core/components/integration/single-integration-card.tsx +++ b/apps/web/core/components/integration/single-integration-card.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/integration/slack/select-channel.tsx b/apps/web/core/components/integration/slack/select-channel.tsx index eb52129a6..0219c20fa 100644 --- a/apps/web/core/components/integration/slack/select-channel.tsx +++ b/apps/web/core/components/integration/slack/select-channel.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState, useEffect } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/archive-issue-modal.tsx b/apps/web/core/components/issues/archive-issue-modal.tsx index 66ab1f8d8..0be1e741d 100644 --- a/apps/web/core/components/issues/archive-issue-modal.tsx +++ b/apps/web/core/components/issues/archive-issue-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState, Fragment } from "react"; import { Dialog, Transition } from "@headlessui/react"; // i18n diff --git a/apps/web/core/components/issues/attachment/attachment-detail.tsx b/apps/web/core/components/issues/attachment/attachment-detail.tsx index c1dfb3703..6db6b811c 100644 --- a/apps/web/core/components/issues/attachment/attachment-detail.tsx +++ b/apps/web/core/components/issues/attachment/attachment-detail.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/attachment/attachment-list-item.tsx b/apps/web/core/components/issues/attachment/attachment-list-item.tsx index b72ed0325..b11dece92 100644 --- a/apps/web/core/components/issues/attachment/attachment-list-item.tsx +++ b/apps/web/core/components/issues/attachment/attachment-list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { Trash } from "lucide-react"; diff --git a/apps/web/core/components/issues/attachment/attachment-list-upload-item.tsx b/apps/web/core/components/issues/attachment/attachment-list-upload-item.tsx index 5e322def6..9ada6ec08 100644 --- a/apps/web/core/components/issues/attachment/attachment-list-upload-item.tsx +++ b/apps/web/core/components/issues/attachment/attachment-list-upload-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // ui import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/issues/attachment/attachment-upload-details.tsx b/apps/web/core/components/issues/attachment/attachment-upload-details.tsx index 701035b98..b85cd5932 100644 --- a/apps/web/core/components/issues/attachment/attachment-upload-details.tsx +++ b/apps/web/core/components/issues/attachment/attachment-upload-details.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Tooltip } from "@plane/propel/tooltip"; import { CircularProgressIndicator } from "@plane/ui"; diff --git a/apps/web/core/components/issues/attachment/root.tsx b/apps/web/core/components/issues/attachment/root.tsx index ad60259f8..3143a1da2 100644 --- a/apps/web/core/components/issues/attachment/root.tsx +++ b/apps/web/core/components/issues/attachment/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; // hooks diff --git a/apps/web/core/components/issues/bulk-operations/upgrade-banner.tsx b/apps/web/core/components/issues/bulk-operations/upgrade-banner.tsx index edd2fa1d6..20e527fb3 100644 --- a/apps/web/core/components/issues/bulk-operations/upgrade-banner.tsx +++ b/apps/web/core/components/issues/bulk-operations/upgrade-banner.tsx @@ -1,5 +1,3 @@ -"use client"; - import { MARKETING_PLANE_ONE_PAGE_LINK } from "@plane/constants"; import { getButtonStyling } from "@plane/propel/button"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/issues/confirm-issue-discard.tsx b/apps/web/core/components/issues/confirm-issue-discard.tsx index 66d5a66f3..69cfa24b2 100644 --- a/apps/web/core/components/issues/confirm-issue-discard.tsx +++ b/apps/web/core/components/issues/confirm-issue-discard.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; // headless ui diff --git a/apps/web/core/components/issues/create-issue-toast-action-items.tsx b/apps/web/core/components/issues/create-issue-toast-action-items.tsx index 34d1ff65a..d746cadd8 100644 --- a/apps/web/core/components/issues/create-issue-toast-action-items.tsx +++ b/apps/web/core/components/issues/create-issue-toast-action-items.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React, { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/delete-issue-modal.tsx b/apps/web/core/components/issues/delete-issue-modal.tsx index 77c0c85ee..11a530609 100644 --- a/apps/web/core/components/issues/delete-issue-modal.tsx +++ b/apps/web/core/components/issues/delete-issue-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/filters.tsx b/apps/web/core/components/issues/filters.tsx index 56bfef0fe..54a154915 100644 --- a/apps/web/core/components/issues/filters.tsx +++ b/apps/web/core/components/issues/filters.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useState } from "react"; import { observer } from "mobx-react"; import { ChartNoAxesColumn, SlidersHorizontal } from "lucide-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/action-buttons.tsx b/apps/web/core/components/issues/issue-detail-widgets/action-buttons.tsx index f6ff8c533..d0101d5b3 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/action-buttons.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/action-buttons.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React from "react"; import { Link, Paperclip } from "lucide-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/attachments/content.tsx b/apps/web/core/components/issues/issue-detail-widgets/attachments/content.tsx index 9670be148..efadb710d 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/attachments/content.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/attachments/content.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/attachments/helper.tsx b/apps/web/core/components/issues/issue-detail-widgets/attachments/helper.tsx index 4f2c0d35f..a08133c81 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/attachments/helper.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/attachments/helper.tsx @@ -1,4 +1,3 @@ -"use client"; import { useMemo } from "react"; import { WORK_ITEM_TRACKER_EVENTS } from "@plane/constants"; import { setPromiseToast, TOAST_TYPE, setToast } from "@plane/propel/toast"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx index ca41e86ca..ce642b757 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/attachments/quick-action-button.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React, { useCallback, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/attachments/root.tsx b/apps/web/core/components/issues/issue-detail-widgets/attachments/root.tsx index 43ff80123..1bf1d457e 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/attachments/root.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/attachments/root.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/attachments/title.tsx b/apps/web/core/components/issues/issue-detail-widgets/attachments/title.tsx index 8ef0383e0..93ce65a21 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/attachments/title.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/attachments/title.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React, { useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/issue-detail-widget-collapsibles.tsx b/apps/web/core/components/issues/issue-detail-widgets/issue-detail-widget-collapsibles.tsx index 49c1070be..fa792e800 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/issue-detail-widget-collapsibles.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/issue-detail-widget-collapsibles.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/links/content.tsx b/apps/web/core/components/issues/issue-detail-widgets/links/content.tsx index 33eaaf3c9..49f2a56b1 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/links/content.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/links/content.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import type { TIssueServiceType } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/links/helper.tsx b/apps/web/core/components/issues/issue-detail-widgets/links/helper.tsx index 5bf6c6821..cdce12ca5 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/links/helper.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/links/helper.tsx @@ -1,4 +1,3 @@ -"use client"; import { useMemo } from "react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx index 900c1ef06..c182d32e5 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/links/quick-action-button.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/links/root.tsx b/apps/web/core/components/issues/issue-detail-widgets/links/root.tsx index 054f9d31d..5f809be46 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/links/root.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/links/root.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/links/title.tsx b/apps/web/core/components/issues/issue-detail-widgets/links/title.tsx index 604c0bab8..c15f20182 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/links/title.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/links/title.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React, { useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/relations/content.tsx b/apps/web/core/components/issues/issue-detail-widgets/relations/content.tsx index 4c9f017c1..78bdf1efd 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/relations/content.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/relations/content.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/relations/helper.tsx b/apps/web/core/components/issues/issue-detail-widgets/relations/helper.tsx index f351cef79..520a44b41 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/relations/helper.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/relations/helper.tsx @@ -1,4 +1,3 @@ -"use client"; import { useMemo } from "react"; // plane imports import { WORK_ITEM_TRACKER_EVENTS } from "@plane/constants"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx index d2bb3a8f1..064ad5770 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/relations/quick-action-button.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/relations/root.tsx b/apps/web/core/components/issues/issue-detail-widgets/relations/root.tsx index 3137254a6..e13f9beb7 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/relations/root.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/relations/root.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/relations/title.tsx b/apps/web/core/components/issues/issue-detail-widgets/relations/title.tsx index 2fdd88c85..24c82d1c9 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/relations/title.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/relations/title.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React, { useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/root.tsx b/apps/web/core/components/issues/issue-detail-widgets/root.tsx index 36f503134..d7a3518b6 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/root.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React from "react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/content.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/content.tsx index c715fb002..4288c81f8 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/content.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/content.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React, { useEffect, useState, useCallback } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/helper.ts b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/helper.ts index 61129d4f2..3790e1164 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/helper.ts +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/helper.ts @@ -1,5 +1,3 @@ -"use client"; - import { useMemo } from "react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-item.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-item.tsx index 4c8090b61..dcf9d1d57 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-item.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Pencil, Trash, Link as LinkIcon, Loader } from "lucide-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx index faa281289..c3ae0f391 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/quick-action-button.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/root.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/root.tsx index 023676e72..ccfa46ac6 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/root.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/root.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/title.tsx b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/title.tsx index c07b6b59a..9792c1247 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/sub-issues/title.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/sub-issues/title.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail-widgets/widget-button.tsx b/apps/web/core/components/issues/issue-detail-widgets/widget-button.tsx index 8325a0f42..cf8568cd4 100644 --- a/apps/web/core/components/issues/issue-detail-widgets/widget-button.tsx +++ b/apps/web/core/components/issues/issue-detail-widgets/widget-button.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; // helpers diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/archived-at.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/archived-at.tsx index 09f30a478..655f2d1de 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/archived-at.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/archived-at.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { RotateCcw } from "lucide-react"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/cycle.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/cycle.tsx index 65376393f..175e1e370 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/cycle.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/cycle.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // hooks import { CycleIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/default.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/default.tsx index 6f16ef896..b77129356 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/default.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/default.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { WorkItemsIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/activity-block.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/activity-block.tsx index 82ab2a0df..2a3383eb8 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/activity-block.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/activity-block.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC, ReactNode } from "react"; import { Network } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/issue-link.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/issue-link.tsx index 5535fba20..e8600340d 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/issue-link.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/helpers/issue-link.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Tooltip } from "@plane/propel/tooltip"; import { generateWorkItemLink } from "@plane/utils"; // hooks diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/module.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/module.tsx index 8729f0a91..a8e297d7d 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/module.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/module.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // hooks import { ModuleIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/state.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/state.tsx index c41807d38..4210a1028 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/state.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/activity/actions/state.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // hooks import { StatePropertyIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/root.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/root.tsx index ab13b4e35..d5908517c 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/root.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo } from "react"; import uniq from "lodash-es/uniq"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail/issue-activity/sort-root.tsx b/apps/web/core/components/issues/issue-detail/issue-activity/sort-root.tsx index f257f7dbd..b037540f3 100644 --- a/apps/web/core/components/issues/issue-detail/issue-activity/sort-root.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-activity/sort-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { memo } from "react"; import { ArrowUpWideNarrow, ArrowDownWideNarrow } from "lucide-react"; // plane package imports diff --git a/apps/web/core/components/issues/issue-detail/issue-detail-quick-actions.tsx b/apps/web/core/components/issues/issue-detail/issue-detail-quick-actions.tsx index 6fdfd1a74..3aa12278e 100644 --- a/apps/web/core/components/issues/issue-detail/issue-detail-quick-actions.tsx +++ b/apps/web/core/components/issues/issue-detail/issue-detail-quick-actions.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React, { useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail/label/create-label.tsx b/apps/web/core/components/issues/issue-detail/label/create-label.tsx index 2d8198c52..1b108cd9c 100644 --- a/apps/web/core/components/issues/issue-detail/label/create-label.tsx +++ b/apps/web/core/components/issues/issue-detail/label/create-label.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState, Fragment, useEffect } from "react"; import { TwitterPicker } from "react-color"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-detail/label/root.tsx b/apps/web/core/components/issues/issue-detail/label/root.tsx index ded22d5c5..08ca5d2fc 100644 --- a/apps/web/core/components/issues/issue-detail/label/root.tsx +++ b/apps/web/core/components/issues/issue-detail/label/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx b/apps/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx index 75fd26081..a076ede04 100644 --- a/apps/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx +++ b/apps/web/core/components/issues/issue-detail/links/create-update-link-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail/links/link-detail.tsx b/apps/web/core/components/issues/issue-detail/links/link-detail.tsx index 47759bb8a..c3f724b5c 100644 --- a/apps/web/core/components/issues/issue-detail/links/link-detail.tsx +++ b/apps/web/core/components/issues/issue-detail/links/link-detail.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Pencil, Trash2, ExternalLink } from "lucide-react"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/issues/issue-detail/links/link-item.tsx b/apps/web/core/components/issues/issue-detail/links/link-item.tsx index c5d1eba6c..0ab93452c 100644 --- a/apps/web/core/components/issues/issue-detail/links/link-item.tsx +++ b/apps/web/core/components/issues/issue-detail/links/link-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Pencil, Trash2, Copy, Link } from "lucide-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/issues/issue-detail/links/root.tsx b/apps/web/core/components/issues/issue-detail/links/root.tsx index 8df14df38..145c755a5 100644 --- a/apps/web/core/components/issues/issue-detail/links/root.tsx +++ b/apps/web/core/components/issues/issue-detail/links/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useMemo, useState } from "react"; import { Plus } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail/main-content.tsx b/apps/web/core/components/issues/issue-detail/main-content.tsx index 0dff287c5..20d49547a 100644 --- a/apps/web/core/components/issues/issue-detail/main-content.tsx +++ b/apps/web/core/components/issues/issue-detail/main-content.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-detail/parent-select.tsx b/apps/web/core/components/issues/issue-detail/parent-select.tsx index 4cfa95884..255ff664a 100644 --- a/apps/web/core/components/issues/issue-detail/parent-select.tsx +++ b/apps/web/core/components/issues/issue-detail/parent-select.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/issues/issue-detail/parent/root.tsx b/apps/web/core/components/issues/issue-detail/parent/root.tsx index 014d01682..94b5573f4 100644 --- a/apps/web/core/components/issues/issue-detail/parent/root.tsx +++ b/apps/web/core/components/issues/issue-detail/parent/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useRouter } from "next/navigation"; import { MinusCircle } from "lucide-react"; diff --git a/apps/web/core/components/issues/issue-detail/parent/sibling-item.tsx b/apps/web/core/components/issues/issue-detail/parent/sibling-item.tsx index f4c0b313f..19ca5a1c4 100644 --- a/apps/web/core/components/issues/issue-detail/parent/sibling-item.tsx +++ b/apps/web/core/components/issues/issue-detail/parent/sibling-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // ui import { CustomMenu } from "@plane/ui"; diff --git a/apps/web/core/components/issues/issue-detail/reactions/issue-comment.tsx b/apps/web/core/components/issues/issue-detail/reactions/issue-comment.tsx index 0e7a91e66..4abe66ce9 100644 --- a/apps/web/core/components/issues/issue-detail/reactions/issue-comment.tsx +++ b/apps/web/core/components/issues/issue-detail/reactions/issue-comment.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { stringToEmoji } from "@plane/propel/emoji-icon-picker"; diff --git a/apps/web/core/components/issues/issue-detail/reactions/issue.tsx b/apps/web/core/components/issues/issue-detail/reactions/issue.tsx index 7d7485fe7..edc16742c 100644 --- a/apps/web/core/components/issues/issue-detail/reactions/issue.tsx +++ b/apps/web/core/components/issues/issue-detail/reactions/issue.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { stringToEmoji } from "@plane/propel/emoji-icon-picker"; diff --git a/apps/web/core/components/issues/issue-detail/relation-select.tsx b/apps/web/core/components/issues/issue-detail/relation-select.tsx index eee49e09f..3a690641d 100644 --- a/apps/web/core/components/issues/issue-detail/relation-select.tsx +++ b/apps/web/core/components/issues/issue-detail/relation-select.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/issues/issue-detail/root.tsx b/apps/web/core/components/issues/issue-detail/root.tsx index a73bbc77a..12ae56ac4 100644 --- a/apps/web/core/components/issues/issue-detail/root.tsx +++ b/apps/web/core/components/issues/issue-detail/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-detail/sidebar.tsx b/apps/web/core/components/issues/issue-detail/sidebar.tsx index 421d01919..c8378509d 100644 --- a/apps/web/core/components/issues/issue-detail/sidebar.tsx +++ b/apps/web/core/components/issues/issue-detail/sidebar.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; // i18n diff --git a/apps/web/core/components/issues/issue-detail/subscription.tsx b/apps/web/core/components/issues/issue-detail/subscription.tsx index d2dfb7a48..1ec5f8648 100644 --- a/apps/web/core/components/issues/issue-detail/subscription.tsx +++ b/apps/web/core/components/issues/issue-detail/subscription.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState } from "react"; import { isNil } from "lodash-es"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/base-calendar-root.tsx b/apps/web/core/components/issues/issue-layouts/calendar/base-calendar-root.tsx index e10b14017..fb00e3bec 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/base-calendar-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/base-calendar-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useCallback, useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/calendar.tsx b/apps/web/core/components/issues/issue-layouts/calendar/calendar.tsx index be7831d07..cca518406 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/calendar.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/calendar.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { autoScrollForElements } from "@atlaskit/pragmatic-drag-and-drop-auto-scroll/element"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/day-tile.tsx b/apps/web/core/components/issues/issue-layouts/calendar/day-tile.tsx index c835dd200..a15549aa4 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/day-tile.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/day-tile.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx b/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx index d4d2f706a..8865c2a32 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/issue-block.tsx b/apps/web/core/components/issues/issue-layouts/calendar/issue-block.tsx index 5a523675e..43fbbe688 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/issue-block.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/issue-block.tsx @@ -1,5 +1,3 @@ -"use client"; - /* eslint-disable react/display-name */ import { useState, useRef, forwardRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/calendar/quick-add-issue-actions.tsx b/apps/web/core/components/issues/issue-layouts/calendar/quick-add-issue-actions.tsx index 7f1b5ad37..76220ab66 100644 --- a/apps/web/core/components/issues/issue-layouts/calendar/quick-add-issue-actions.tsx +++ b/apps/web/core/components/issues/issue-layouts/calendar/quick-add-issue-actions.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { differenceInCalendarDays } from "date-fns/differenceInCalendarDays"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/empty-states/cycle.tsx b/apps/web/core/components/issues/issue-layouts/empty-states/cycle.tsx index 3ca1651c6..d7e6b1bdf 100644 --- a/apps/web/core/components/issues/issue-layouts/empty-states/cycle.tsx +++ b/apps/web/core/components/issues/issue-layouts/empty-states/cycle.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { isEmpty } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/empty-states/module.tsx b/apps/web/core/components/issues/issue-layouts/empty-states/module.tsx index 6ad9b55e6..15bb2bcab 100644 --- a/apps/web/core/components/issues/issue-layouts/empty-states/module.tsx +++ b/apps/web/core/components/issues/issue-layouts/empty-states/module.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/cycle.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/cycle.tsx index ab246d15d..072b7489f 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/cycle.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/cycle.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { CloseIcon, CycleGroupIcon } from "@plane/propel/icons"; import type { TCycleGroups } from "@plane/types"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/members.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/members.tsx index b0fa8a472..908221a13 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/members.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/members.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { CloseIcon } from "@plane/propel/icons"; // plane ui diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/module.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/module.tsx index 09aab7de2..2282f604b 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/module.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/module.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // hooks import { CloseIcon, ModuleIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/priority.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/priority.tsx index 4f2137bd6..c983788bc 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/priority.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/priority.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // icons diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state-group.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state-group.tsx index fb83e7847..73e153270 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state-group.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state-group.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // icons diff --git a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state.tsx b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state.tsx index 0667df59e..1408bb7d4 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/applied-filters/state.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // icons // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/assignee.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/assignee.tsx index 1d7cd8a2b..392afa98a 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/assignee.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/assignee.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/created-by.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/created-by.tsx index 08d658aff..e9a96643f 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/created-by.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/created-by.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/cycle.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/cycle.tsx index 3359d3787..97e4b161d 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/cycle.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/cycle.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/labels.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/labels.tsx index 26b4d2dd3..a1b075677 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/labels.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/labels.tsx @@ -1,4 +1,3 @@ -"use client"; import React, { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/mentions.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/mentions.tsx index d072f6cd1..b049b6dd3 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/mentions.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/mentions.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/module.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/module.tsx index 781b98e23..49d570b8d 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/module.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/module.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/priority.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/priority.tsx index 3f11ba2fa..090e8df9d 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/priority.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/priority.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; // plane constants diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/project.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/project.tsx index 64277c912..635881ee1 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/project.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/project.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/state-group.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/state-group.tsx index 26a32c11f..db077f489 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/state-group.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/state-group.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/filters/state.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/filters/state.tsx index 64a95090a..43624eefe 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/filters/state.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/filters/state.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/helpers/dropdown.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/helpers/dropdown.tsx index 29f76a793..c856784ea 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/helpers/dropdown.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/helpers/dropdown.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { Fragment, useState } from "react"; import type { Placement } from "@popperjs/core"; import { usePopper } from "react-popper"; diff --git a/apps/web/core/components/issues/issue-layouts/filters/header/layout-selection.tsx b/apps/web/core/components/issues/issue-layouts/filters/header/layout-selection.tsx index 9a097da75..5536d7dd4 100644 --- a/apps/web/core/components/issues/issue-layouts/filters/header/layout-selection.tsx +++ b/apps/web/core/components/issues/issue-layouts/filters/header/layout-selection.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // plane constants import { ISSUE_LAYOUTS } from "@plane/constants"; diff --git a/apps/web/core/components/issues/issue-layouts/gantt/blocks.tsx b/apps/web/core/components/issues/issue-layouts/gantt/blocks.tsx index 605f36a46..d58f5b99e 100644 --- a/apps/web/core/components/issues/issue-layouts/gantt/blocks.tsx +++ b/apps/web/core/components/issues/issue-layouts/gantt/blocks.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx b/apps/web/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx index fd77c6226..cae04ffaa 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/base-kanban-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useCallback, useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/issues/issue-layouts/kanban/block.tsx b/apps/web/core/components/issues/issue-layouts/kanban/block.tsx index 47890fb14..b93e057ad 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/block.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/block.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { MutableRefObject } from "react"; import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx b/apps/web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx index efe8cc8a2..0c64ff4dd 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/headers/group-by-card.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/kanban/kanban-group.tsx b/apps/web/core/components/issues/issue-layouts/kanban/kanban-group.tsx index 9b1ea5d2f..f0c436014 100644 --- a/apps/web/core/components/issues/issue-layouts/kanban/kanban-group.tsx +++ b/apps/web/core/components/issues/issue-layouts/kanban/kanban-group.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { MutableRefObject } from "react"; import { useCallback, useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/issues/issue-layouts/list/block-root.tsx b/apps/web/core/components/issues/issue-layouts/list/block-root.tsx index 87686a344..68d49434c 100644 --- a/apps/web/core/components/issues/issue-layouts/list/block-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/block-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC, MutableRefObject } from "react"; import React, { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/issues/issue-layouts/list/block.tsx b/apps/web/core/components/issues/issue-layouts/list/block.tsx index 4f5b0d83d..1b7cae0fd 100644 --- a/apps/web/core/components/issues/issue-layouts/list/block.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/block.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Dispatch, MouseEvent, SetStateAction } from "react"; import { useEffect, useRef } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/issues/issue-layouts/list/headers/group-by-card.tsx b/apps/web/core/components/issues/issue-layouts/list/headers/group-by-card.tsx index 8602848dc..91f12bb6c 100644 --- a/apps/web/core/components/issues/issue-layouts/list/headers/group-by-card.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/headers/group-by-card.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/list/list-group.tsx b/apps/web/core/components/issues/issue-layouts/list/list-group.tsx index 821db6e7a..7d153044b 100644 --- a/apps/web/core/components/issues/issue-layouts/list/list-group.tsx +++ b/apps/web/core/components/issues/issue-layouts/list/list-group.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { MutableRefObject } from "react"; import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx b/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx index e637749e0..f434414d9 100644 --- a/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx +++ b/apps/web/core/components/issues/issue-layouts/properties/all-properties.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { SyntheticEvent } from "react"; import { useCallback, useMemo } from "react"; import { xor } from "lodash-es"; diff --git a/apps/web/core/components/issues/issue-layouts/properties/labels.tsx b/apps/web/core/components/issues/issue-layouts/properties/labels.tsx index 4fb577a1a..2ebff3686 100644 --- a/apps/web/core/components/issues/issue-layouts/properties/labels.tsx +++ b/apps/web/core/components/issues/issue-layouts/properties/labels.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import type { Placement } from "@popperjs/core"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/all-issue.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/all-issue.tsx index 2e894df37..3b7d80210 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/all-issue.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/all-issue.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { omit } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/archived-issue.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/archived-issue.tsx index 8de0ff321..edc0ca80e 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/archived-issue.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/archived-issue.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/cycle-issue.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/cycle-issue.tsx index 827bf7d20..0a7fe5064 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/cycle-issue.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/cycle-issue.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { omit } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/issue-detail.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/issue-detail.tsx index edaa463e4..8d97a6a11 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/issue-detail.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/issue-detail.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { omit } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/module-issue.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/module-issue.tsx index 6eb1f8cfe..4eb688f90 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/module-issue.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/module-issue.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { omit } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/project-issue.tsx b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/project-issue.tsx index 493468586..315e678d3 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/project-issue.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-action-dropdowns/project-issue.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { omit } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/quick-add/root.tsx b/apps/web/core/components/issues/issue-layouts/quick-add/root.tsx index 4eba12d0e..862b1ee00 100644 --- a/apps/web/core/components/issues/issue-layouts/quick-add/root.tsx +++ b/apps/web/core/components/issues/issue-layouts/quick-add/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/roots/project-layout-root.tsx b/apps/web/core/components/issues/issue-layouts/roots/project-layout-root.tsx index 82e1a9813..ed2ce3513 100644 --- a/apps/web/core/components/issues/issue-layouts/roots/project-layout-root.tsx +++ b/apps/web/core/components/issues/issue-layouts/roots/project-layout-root.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/header-column.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/header-column.tsx index c2047b521..4046ce1f0 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/header-column.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/columns/header-column.tsx @@ -1,4 +1,3 @@ -"use client"; //ui import { ArrowDownWideNarrow, ArrowUpNarrowWide, CheckIcon, ChevronDownIcon, Eraser, MoveRight } from "lucide-react"; // constants diff --git a/apps/web/core/components/issues/issue-layouts/spreadsheet/issue-row.tsx b/apps/web/core/components/issues/issue-layouts/spreadsheet/issue-row.tsx index 7e607a3ec..a44252b8f 100644 --- a/apps/web/core/components/issues/issue-layouts/spreadsheet/issue-row.tsx +++ b/apps/web/core/components/issues/issue-layouts/spreadsheet/issue-row.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Dispatch, MouseEvent, MutableRefObject, SetStateAction } from "react"; import { useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-layouts/utils.tsx b/apps/web/core/components/issues/issue-layouts/utils.tsx index 23d0a10e6..a7fe2bdec 100644 --- a/apps/web/core/components/issues/issue-layouts/utils.tsx +++ b/apps/web/core/components/issues/issue-layouts/utils.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { CSSProperties, FC } from "react"; import { extractInstruction } from "@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item"; import { clone, isNil, pull, uniq, concat } from "lodash-es"; diff --git a/apps/web/core/components/issues/issue-modal/base.tsx b/apps/web/core/components/issues/issue-modal/base.tsx index 64db4919d..553f9ff21 100644 --- a/apps/web/core/components/issues/issue-modal/base.tsx +++ b/apps/web/core/components/issues/issue-modal/base.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useRef, useState } from "react"; import { xor } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-modal/components/default-properties.tsx b/apps/web/core/components/issues/issue-modal/components/default-properties.tsx index 8999f5fe6..912487418 100644 --- a/apps/web/core/components/issues/issue-modal/components/default-properties.tsx +++ b/apps/web/core/components/issues/issue-modal/components/default-properties.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import type { Control } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-modal/components/description-editor.tsx b/apps/web/core/components/issues/issue-modal/components/description-editor.tsx index 9b05e4764..bd5352a47 100644 --- a/apps/web/core/components/issues/issue-modal/components/description-editor.tsx +++ b/apps/web/core/components/issues/issue-modal/components/description-editor.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import type { Control } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-modal/components/parent-tag.tsx b/apps/web/core/components/issues/issue-modal/components/parent-tag.tsx index 9234a5f28..8e0e893ca 100644 --- a/apps/web/core/components/issues/issue-modal/components/parent-tag.tsx +++ b/apps/web/core/components/issues/issue-modal/components/parent-tag.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import type { Control } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-modal/components/project-select.tsx b/apps/web/core/components/issues/issue-modal/components/project-select.tsx index b59776424..b996bbbe2 100644 --- a/apps/web/core/components/issues/issue-modal/components/project-select.tsx +++ b/apps/web/core/components/issues/issue-modal/components/project-select.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import type { Control } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-modal/components/title-input.tsx b/apps/web/core/components/issues/issue-modal/components/title-input.tsx index 43309e19b..1eb607d97 100644 --- a/apps/web/core/components/issues/issue-modal/components/title-input.tsx +++ b/apps/web/core/components/issues/issue-modal/components/title-input.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import type { Control, FormState } from "react-hook-form"; diff --git a/apps/web/core/components/issues/issue-modal/draft-issue-layout.tsx b/apps/web/core/components/issues/issue-modal/draft-issue-layout.tsx index 20c1e475f..074482bb2 100644 --- a/apps/web/core/components/issues/issue-modal/draft-issue-layout.tsx +++ b/apps/web/core/components/issues/issue-modal/draft-issue-layout.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { isEmpty } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-modal/form.tsx b/apps/web/core/components/issues/issue-modal/form.tsx index 7be97b2b1..5bad82dc0 100644 --- a/apps/web/core/components/issues/issue-modal/form.tsx +++ b/apps/web/core/components/issues/issue-modal/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React, { useState, useRef, useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/issue-modal/modal.tsx b/apps/web/core/components/issues/issue-modal/modal.tsx index 92747ab7b..1db1db78f 100644 --- a/apps/web/core/components/issues/issue-modal/modal.tsx +++ b/apps/web/core/components/issues/issue-modal/modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/label.tsx b/apps/web/core/components/issues/label.tsx index 7f8733564..5d65139ff 100644 --- a/apps/web/core/components/issues/label.tsx +++ b/apps/web/core/components/issues/label.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // components import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/issues/parent-issues-list-modal.tsx b/apps/web/core/components/issues/parent-issues-list-modal.tsx index 97c8ff68f..9cb6e2014 100644 --- a/apps/web/core/components/issues/parent-issues-list-modal.tsx +++ b/apps/web/core/components/issues/parent-issues-list-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { useParams } from "next/navigation"; // icons diff --git a/apps/web/core/components/issues/peek-overview/error.tsx b/apps/web/core/components/issues/peek-overview/error.tsx index c05cc2c95..750d369eb 100644 --- a/apps/web/core/components/issues/peek-overview/error.tsx +++ b/apps/web/core/components/issues/peek-overview/error.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { MoveRight } from "lucide-react"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/issues/peek-overview/header.tsx b/apps/web/core/components/issues/peek-overview/header.tsx index e2a9b055a..ccde3d9f9 100644 --- a/apps/web/core/components/issues/peek-overview/header.tsx +++ b/apps/web/core/components/issues/peek-overview/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/peek-overview/issue-detail.tsx b/apps/web/core/components/issues/peek-overview/issue-detail.tsx index ea121f68f..e696e878f 100644 --- a/apps/web/core/components/issues/peek-overview/issue-detail.tsx +++ b/apps/web/core/components/issues/peek-overview/issue-detail.tsx @@ -1,4 +1,3 @@ -"use-client"; import type { FC } from "react"; import { useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/peek-overview/loader.tsx b/apps/web/core/components/issues/peek-overview/loader.tsx index d3240144b..730ea4357 100644 --- a/apps/web/core/components/issues/peek-overview/loader.tsx +++ b/apps/web/core/components/issues/peek-overview/loader.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { MoveRight } from "lucide-react"; import { Tooltip } from "@plane/propel/tooltip"; diff --git a/apps/web/core/components/issues/peek-overview/properties.tsx b/apps/web/core/components/issues/peek-overview/properties.tsx index 25f39ffb2..7ac3c2294 100644 --- a/apps/web/core/components/issues/peek-overview/properties.tsx +++ b/apps/web/core/components/issues/peek-overview/properties.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; // i18n diff --git a/apps/web/core/components/issues/peek-overview/root.tsx b/apps/web/core/components/issues/peek-overview/root.tsx index f1d6636e3..ed702f3d6 100644 --- a/apps/web/core/components/issues/peek-overview/root.tsx +++ b/apps/web/core/components/issues/peek-overview/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState, useMemo, useCallback } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/relations/issue-list-item.tsx b/apps/web/core/components/issues/relations/issue-list-item.tsx index 5969434ca..80e80d98d 100644 --- a/apps/web/core/components/issues/relations/issue-list-item.tsx +++ b/apps/web/core/components/issues/relations/issue-list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/relations/issue-list.tsx b/apps/web/core/components/issues/relations/issue-list.tsx index 5a587a710..e78ab6086 100644 --- a/apps/web/core/components/issues/relations/issue-list.tsx +++ b/apps/web/core/components/issues/relations/issue-list.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/relations/properties.tsx b/apps/web/core/components/issues/relations/properties.tsx index 854ff32ff..2609ee69f 100644 --- a/apps/web/core/components/issues/relations/properties.tsx +++ b/apps/web/core/components/issues/relations/properties.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/title-input.tsx b/apps/web/core/components/issues/title-input.tsx index cc64a5b12..d521c1fb1 100644 --- a/apps/web/core/components/issues/title-input.tsx +++ b/apps/web/core/components/issues/title-input.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState, useEffect, useCallback, useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/issues/workspace-draft/delete-modal.tsx b/apps/web/core/components/issues/workspace-draft/delete-modal.tsx index f2856c811..380b45cbf 100644 --- a/apps/web/core/components/issues/workspace-draft/delete-modal.tsx +++ b/apps/web/core/components/issues/workspace-draft/delete-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useState } from "react"; // types import { PROJECT_ERROR_MESSAGES, EUserPermissions, EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/core/components/issues/workspace-draft/draft-issue-block.tsx b/apps/web/core/components/issues/workspace-draft/draft-issue-block.tsx index 71a30712a..4020b1394 100644 --- a/apps/web/core/components/issues/workspace-draft/draft-issue-block.tsx +++ b/apps/web/core/components/issues/workspace-draft/draft-issue-block.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import React, { useRef, useState } from "react"; import { omit } from "lodash-es"; diff --git a/apps/web/core/components/issues/workspace-draft/draft-issue-properties.tsx b/apps/web/core/components/issues/workspace-draft/draft-issue-properties.tsx index b5670aeb1..56910deab 100644 --- a/apps/web/core/components/issues/workspace-draft/draft-issue-properties.tsx +++ b/apps/web/core/components/issues/workspace-draft/draft-issue-properties.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/issues/workspace-draft/empty-state.tsx b/apps/web/core/components/issues/workspace-draft/empty-state.tsx index 4ac44d648..7466e513d 100644 --- a/apps/web/core/components/issues/workspace-draft/empty-state.tsx +++ b/apps/web/core/components/issues/workspace-draft/empty-state.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { Fragment, useState } from "react"; // components diff --git a/apps/web/core/components/issues/workspace-draft/loader.tsx b/apps/web/core/components/issues/workspace-draft/loader.tsx index fdfc42f37..62f2c9bc5 100644 --- a/apps/web/core/components/issues/workspace-draft/loader.tsx +++ b/apps/web/core/components/issues/workspace-draft/loader.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { range } from "lodash-es"; // components diff --git a/apps/web/core/components/issues/workspace-draft/quick-action.tsx b/apps/web/core/components/issues/workspace-draft/quick-action.tsx index ef3fc5177..1cb1710dc 100644 --- a/apps/web/core/components/issues/workspace-draft/quick-action.tsx +++ b/apps/web/core/components/issues/workspace-draft/quick-action.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; // ui diff --git a/apps/web/core/components/issues/workspace-draft/root.tsx b/apps/web/core/components/issues/workspace-draft/root.tsx index 381f84da1..112f116e8 100644 --- a/apps/web/core/components/issues/workspace-draft/root.tsx +++ b/apps/web/core/components/issues/workspace-draft/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { Fragment } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/labels/create-update-label-inline.tsx b/apps/web/core/components/labels/create-update-label-inline.tsx index cedc8bb90..67d3e8557 100644 --- a/apps/web/core/components/labels/create-update-label-inline.tsx +++ b/apps/web/core/components/labels/create-update-label-inline.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { forwardRef, useEffect } from "react"; import { observer } from "mobx-react"; import { TwitterPicker } from "react-color"; diff --git a/apps/web/core/components/labels/delete-label-modal.tsx b/apps/web/core/components/labels/delete-label-modal.tsx index 42058f707..ebc9d4651 100644 --- a/apps/web/core/components/labels/delete-label-modal.tsx +++ b/apps/web/core/components/labels/delete-label-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/labels/label-block/label-item-block.tsx b/apps/web/core/components/labels/label-block/label-item-block.tsx index 8ca58d0f5..7c11722f4 100644 --- a/apps/web/core/components/labels/label-block/label-item-block.tsx +++ b/apps/web/core/components/labels/label-block/label-item-block.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { MutableRefObject } from "react"; import { useRef, useState } from "react"; import type { LucideIcon } from "lucide-react"; diff --git a/apps/web/core/components/labels/label-drag-n-drop-HOC.tsx b/apps/web/core/components/labels/label-drag-n-drop-HOC.tsx index f02f29b23..3a7f3aa4b 100644 --- a/apps/web/core/components/labels/label-drag-n-drop-HOC.tsx +++ b/apps/web/core/components/labels/label-drag-n-drop-HOC.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { MutableRefObject } from "react"; import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; diff --git a/apps/web/core/components/labels/project-setting-label-list.tsx b/apps/web/core/components/labels/project-setting-label-list.tsx index 4b5e02327..8e5d3f1fd 100644 --- a/apps/web/core/components/labels/project-setting-label-list.tsx +++ b/apps/web/core/components/labels/project-setting-label-list.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState, useRef } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/license/modal/card/base-paid-plan-card.tsx b/apps/web/core/components/license/modal/card/base-paid-plan-card.tsx index 1d52503e3..94b6cbe3e 100644 --- a/apps/web/core/components/license/modal/card/base-paid-plan-card.tsx +++ b/apps/web/core/components/license/modal/card/base-paid-plan-card.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/license/modal/card/checkout-button.tsx b/apps/web/core/components/license/modal/card/checkout-button.tsx index d9ef73cd7..2d4b291fa 100644 --- a/apps/web/core/components/license/modal/card/checkout-button.tsx +++ b/apps/web/core/components/license/modal/card/checkout-button.tsx @@ -1,4 +1,3 @@ -"use client"; import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/license/modal/card/free-plan.tsx b/apps/web/core/components/license/modal/card/free-plan.tsx index b275853b4..bd7b5a51c 100644 --- a/apps/web/core/components/license/modal/card/free-plan.tsx +++ b/apps/web/core/components/license/modal/card/free-plan.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { CircleX } from "lucide-react"; // plane constants diff --git a/apps/web/core/components/license/modal/card/plan-upgrade.tsx b/apps/web/core/components/license/modal/card/plan-upgrade.tsx index bb0b0d55e..ffe880d28 100644 --- a/apps/web/core/components/license/modal/card/plan-upgrade.tsx +++ b/apps/web/core/components/license/modal/card/plan-upgrade.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/license/modal/card/talk-to-sales.tsx b/apps/web/core/components/license/modal/card/talk-to-sales.tsx index 12711fe65..c1e4b3454 100644 --- a/apps/web/core/components/license/modal/card/talk-to-sales.tsx +++ b/apps/web/core/components/license/modal/card/talk-to-sales.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/modules/analytics-sidebar/issue-progress.tsx b/apps/web/core/components/modules/analytics-sidebar/issue-progress.tsx index 9107f9bbf..344b26645 100644 --- a/apps/web/core/components/modules/analytics-sidebar/issue-progress.tsx +++ b/apps/web/core/components/modules/analytics-sidebar/issue-progress.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { Fragment, useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/analytics-sidebar/progress-stats.tsx b/apps/web/core/components/modules/analytics-sidebar/progress-stats.tsx index fb240d5ab..e6ed57639 100644 --- a/apps/web/core/components/modules/analytics-sidebar/progress-stats.tsx +++ b/apps/web/core/components/modules/analytics-sidebar/progress-stats.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { Tab } from "@headlessui/react"; diff --git a/apps/web/core/components/modules/analytics-sidebar/root.tsx b/apps/web/core/components/modules/analytics-sidebar/root.tsx index 06b16a406..2c796eb9f 100644 --- a/apps/web/core/components/modules/analytics-sidebar/root.tsx +++ b/apps/web/core/components/modules/analytics-sidebar/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/modules/applied-filters/members.tsx b/apps/web/core/components/modules/applied-filters/members.tsx index 613de7fff..8be62e19e 100644 --- a/apps/web/core/components/modules/applied-filters/members.tsx +++ b/apps/web/core/components/modules/applied-filters/members.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { CloseIcon } from "@plane/propel/icons"; // plane ui diff --git a/apps/web/core/components/modules/applied-filters/status.tsx b/apps/web/core/components/modules/applied-filters/status.tsx index 98c3df22e..18b9c6b99 100644 --- a/apps/web/core/components/modules/applied-filters/status.tsx +++ b/apps/web/core/components/modules/applied-filters/status.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // ui import { MODULE_STATUS } from "@plane/constants"; diff --git a/apps/web/core/components/modules/archived-modules/modal.tsx b/apps/web/core/components/modules/archived-modules/modal.tsx index 9c52a708c..eef14a55e 100644 --- a/apps/web/core/components/modules/archived-modules/modal.tsx +++ b/apps/web/core/components/modules/archived-modules/modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState, Fragment } from "react"; import { Dialog, Transition } from "@headlessui/react"; // ui diff --git a/apps/web/core/components/modules/delete-module-modal.tsx b/apps/web/core/components/modules/delete-module-modal.tsx index 35294d8a9..5d5fcbd51 100644 --- a/apps/web/core/components/modules/delete-module-modal.tsx +++ b/apps/web/core/components/modules/delete-module-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/modules/dropdowns/filters/lead.tsx b/apps/web/core/components/modules/dropdowns/filters/lead.tsx index 72e24a37c..1c30fc548 100644 --- a/apps/web/core/components/modules/dropdowns/filters/lead.tsx +++ b/apps/web/core/components/modules/dropdowns/filters/lead.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/dropdowns/filters/members.tsx b/apps/web/core/components/modules/dropdowns/filters/members.tsx index 910856741..a2e401b76 100644 --- a/apps/web/core/components/modules/dropdowns/filters/members.tsx +++ b/apps/web/core/components/modules/dropdowns/filters/members.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/dropdowns/filters/root.tsx b/apps/web/core/components/modules/dropdowns/filters/root.tsx index 615404507..c68c163fb 100644 --- a/apps/web/core/components/modules/dropdowns/filters/root.tsx +++ b/apps/web/core/components/modules/dropdowns/filters/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { Search } from "lucide-react"; diff --git a/apps/web/core/components/modules/dropdowns/filters/status.tsx b/apps/web/core/components/modules/dropdowns/filters/status.tsx index d6c4f702c..e8b51de4a 100644 --- a/apps/web/core/components/modules/dropdowns/filters/status.tsx +++ b/apps/web/core/components/modules/dropdowns/filters/status.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { MODULE_STATUS } from "@plane/constants"; diff --git a/apps/web/core/components/modules/dropdowns/order-by.tsx b/apps/web/core/components/modules/dropdowns/order-by.tsx index 32722d991..c0f6f2e0d 100644 --- a/apps/web/core/components/modules/dropdowns/order-by.tsx +++ b/apps/web/core/components/modules/dropdowns/order-by.tsx @@ -1,5 +1,3 @@ -"use client"; - import { ArrowDownWideNarrow, ArrowUpWideNarrow, Check } from "lucide-react"; import { MODULE_ORDER_BY_OPTIONS } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/modules/form.tsx b/apps/web/core/components/modules/form.tsx index 2b6452e58..8db3d3d8c 100644 --- a/apps/web/core/components/modules/form.tsx +++ b/apps/web/core/components/modules/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { Controller, useForm } from "react-hook-form"; // plane imports diff --git a/apps/web/core/components/modules/gantt-chart/blocks.tsx b/apps/web/core/components/modules/gantt-chart/blocks.tsx index 7acb690c1..f5b96b729 100644 --- a/apps/web/core/components/modules/gantt-chart/blocks.tsx +++ b/apps/web/core/components/modules/gantt-chart/blocks.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import Link from "next/link"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/modules/links/create-update-modal.tsx b/apps/web/core/components/modules/links/create-update-modal.tsx index 4733e424d..9f219b80c 100644 --- a/apps/web/core/components/modules/links/create-update-modal.tsx +++ b/apps/web/core/components/modules/links/create-update-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useEffect } from "react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/modules/links/list.tsx b/apps/web/core/components/modules/links/list.tsx index d84fa7c66..cd0a3c93a 100644 --- a/apps/web/core/components/modules/links/list.tsx +++ b/apps/web/core/components/modules/links/list.tsx @@ -1,4 +1,3 @@ -"use client"; import { useCallback } from "react"; import { observer } from "mobx-react"; // plane types diff --git a/apps/web/core/components/modules/modal.tsx b/apps/web/core/components/modules/modal.tsx index 33491acb5..9fad3c763 100644 --- a/apps/web/core/components/modules/modal.tsx +++ b/apps/web/core/components/modules/modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useForm } from "react-hook-form"; diff --git a/apps/web/core/components/modules/module-card-item.tsx b/apps/web/core/components/modules/module-card-item.tsx index baf686ea9..082a4c20e 100644 --- a/apps/web/core/components/modules/module-card-item.tsx +++ b/apps/web/core/components/modules/module-card-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { SyntheticEvent } from "react"; import React, { useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/module-list-item-action.tsx b/apps/web/core/components/modules/module-list-item-action.tsx index e339676c7..7ae267c77 100644 --- a/apps/web/core/components/modules/module-list-item-action.tsx +++ b/apps/web/core/components/modules/module-list-item-action.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/module-list-item.tsx b/apps/web/core/components/modules/module-list-item.tsx index bd2c40601..1d55c7e31 100644 --- a/apps/web/core/components/modules/module-list-item.tsx +++ b/apps/web/core/components/modules/module-list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useRef } from "react"; import { observer } from "mobx-react"; import { useParams, usePathname, useSearchParams } from "next/navigation"; diff --git a/apps/web/core/components/modules/module-view-header.tsx b/apps/web/core/components/modules/module-view-header.tsx index 81e105c7c..71002c6bd 100644 --- a/apps/web/core/components/modules/module-view-header.tsx +++ b/apps/web/core/components/modules/module-view-header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React, { useCallback, useEffect, useRef, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/quick-actions.tsx b/apps/web/core/components/modules/quick-actions.tsx index 85a8b0175..264619110 100644 --- a/apps/web/core/components/modules/quick-actions.tsx +++ b/apps/web/core/components/modules/quick-actions.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/modules/select/status.tsx b/apps/web/core/components/modules/select/status.tsx index a445c1ca4..b94e48342 100644 --- a/apps/web/core/components/modules/select/status.tsx +++ b/apps/web/core/components/modules/select/status.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // react hook form diff --git a/apps/web/core/components/modules/sidebar-select/select-status.tsx b/apps/web/core/components/modules/sidebar-select/select-status.tsx index 0f6083761..59630a15c 100644 --- a/apps/web/core/components/modules/sidebar-select/select-status.tsx +++ b/apps/web/core/components/modules/sidebar-select/select-status.tsx @@ -1,5 +1,3 @@ -"use client"; - // react import React from "react"; // react-hook-form diff --git a/apps/web/core/components/onboarding/create-workspace.tsx b/apps/web/core/components/onboarding/create-workspace.tsx index 0c3f1bf49..6ed75a7c6 100644 --- a/apps/web/core/components/onboarding/create-workspace.tsx +++ b/apps/web/core/components/onboarding/create-workspace.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/onboarding/header.tsx b/apps/web/core/components/onboarding/header.tsx index 7ab8bdca2..07b33f839 100644 --- a/apps/web/core/components/onboarding/header.tsx +++ b/apps/web/core/components/onboarding/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/onboarding/invitations.tsx b/apps/web/core/components/onboarding/invitations.tsx index 2a9140ab2..190fe270e 100644 --- a/apps/web/core/components/onboarding/invitations.tsx +++ b/apps/web/core/components/onboarding/invitations.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; // plane imports import { ROLE, MEMBER_TRACKER_EVENTS, MEMBER_TRACKER_ELEMENTS } from "@plane/constants"; diff --git a/apps/web/core/components/onboarding/invite-members.tsx b/apps/web/core/components/onboarding/invite-members.tsx index a54fb8f23..bfb5616bd 100644 --- a/apps/web/core/components/onboarding/invite-members.tsx +++ b/apps/web/core/components/onboarding/invite-members.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import type { diff --git a/apps/web/core/components/onboarding/profile-setup.tsx b/apps/web/core/components/onboarding/profile-setup.tsx index 088ec6939..1ca91a7c5 100644 --- a/apps/web/core/components/onboarding/profile-setup.tsx +++ b/apps/web/core/components/onboarding/profile-setup.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/onboarding/root.tsx b/apps/web/core/components/onboarding/root.tsx index d6c122b5b..22fbf9ccc 100644 --- a/apps/web/core/components/onboarding/root.tsx +++ b/apps/web/core/components/onboarding/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useCallback, useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/onboarding/steps/common/header.tsx b/apps/web/core/components/onboarding/steps/common/header.tsx index bdee90d6b..b89a42a3a 100644 --- a/apps/web/core/components/onboarding/steps/common/header.tsx +++ b/apps/web/core/components/onboarding/steps/common/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; type Props = { diff --git a/apps/web/core/components/onboarding/steps/profile/consent.tsx b/apps/web/core/components/onboarding/steps/profile/consent.tsx index a3531910e..9186d10dd 100644 --- a/apps/web/core/components/onboarding/steps/profile/consent.tsx +++ b/apps/web/core/components/onboarding/steps/profile/consent.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { Check } from "lucide-react"; diff --git a/apps/web/core/components/onboarding/steps/profile/root.tsx b/apps/web/core/components/onboarding/steps/profile/root.tsx index 57d19de18..c74daa836 100644 --- a/apps/web/core/components/onboarding/steps/profile/root.tsx +++ b/apps/web/core/components/onboarding/steps/profile/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useMemo, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/onboarding/steps/profile/set-password.tsx b/apps/web/core/components/onboarding/steps/profile/set-password.tsx index 44305a259..f97d5d716 100644 --- a/apps/web/core/components/onboarding/steps/profile/set-password.tsx +++ b/apps/web/core/components/onboarding/steps/profile/set-password.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState, useCallback, useMemo } from "react"; import { Lock } from "lucide-react"; import { ChevronDownIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/onboarding/steps/role/root.tsx b/apps/web/core/components/onboarding/steps/role/root.tsx index 3d86b51b3..17ae65649 100644 --- a/apps/web/core/components/onboarding/steps/role/root.tsx +++ b/apps/web/core/components/onboarding/steps/role/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/onboarding/steps/root.tsx b/apps/web/core/components/onboarding/steps/root.tsx index 874ac2c30..966975711 100644 --- a/apps/web/core/components/onboarding/steps/root.tsx +++ b/apps/web/core/components/onboarding/steps/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useEffect, useMemo, useRef } from "react"; // plane imports diff --git a/apps/web/core/components/onboarding/steps/team/root.tsx b/apps/web/core/components/onboarding/steps/team/root.tsx index fb7eee56e..db849f015 100644 --- a/apps/web/core/components/onboarding/steps/team/root.tsx +++ b/apps/web/core/components/onboarding/steps/team/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import type { diff --git a/apps/web/core/components/onboarding/steps/usecase/root.tsx b/apps/web/core/components/onboarding/steps/usecase/root.tsx index fd2abd571..48eaad667 100644 --- a/apps/web/core/components/onboarding/steps/usecase/root.tsx +++ b/apps/web/core/components/onboarding/steps/usecase/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/onboarding/steps/workspace/create.tsx b/apps/web/core/components/onboarding/steps/workspace/create.tsx index 7455514cf..949144a37 100644 --- a/apps/web/core/components/onboarding/steps/workspace/create.tsx +++ b/apps/web/core/components/onboarding/steps/workspace/create.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/onboarding/steps/workspace/join-invites.tsx b/apps/web/core/components/onboarding/steps/workspace/join-invites.tsx index e9da88f1e..b052d9ef4 100644 --- a/apps/web/core/components/onboarding/steps/workspace/join-invites.tsx +++ b/apps/web/core/components/onboarding/steps/workspace/join-invites.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; // plane imports import { MEMBER_TRACKER_ELEMENTS, MEMBER_TRACKER_EVENTS, ROLE } from "@plane/constants"; diff --git a/apps/web/core/components/onboarding/steps/workspace/root.tsx b/apps/web/core/components/onboarding/steps/workspace/root.tsx index b7cd69749..f5cfef3ec 100644 --- a/apps/web/core/components/onboarding/steps/workspace/root.tsx +++ b/apps/web/core/components/onboarding/steps/workspace/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/onboarding/switch-account-dropdown.tsx b/apps/web/core/components/onboarding/switch-account-dropdown.tsx index b6daa46e7..4d55d11bd 100644 --- a/apps/web/core/components/onboarding/switch-account-dropdown.tsx +++ b/apps/web/core/components/onboarding/switch-account-dropdown.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/onboarding/switch-account-modal.tsx b/apps/web/core/components/onboarding/switch-account-modal.tsx index 6f5a20b73..5eca0648b 100644 --- a/apps/web/core/components/onboarding/switch-account-modal.tsx +++ b/apps/web/core/components/onboarding/switch-account-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/components/onboarding/tour/root.tsx b/apps/web/core/components/onboarding/tour/root.tsx index 18fb9adb4..07db1afb5 100644 --- a/apps/web/core/components/onboarding/tour/root.tsx +++ b/apps/web/core/components/onboarding/tour/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/onboarding/tour/sidebar.tsx b/apps/web/core/components/onboarding/tour/sidebar.tsx index f234c7b93..27dc5b58d 100644 --- a/apps/web/core/components/onboarding/tour/sidebar.tsx +++ b/apps/web/core/components/onboarding/tour/sidebar.tsx @@ -1,5 +1,3 @@ -"use client"; - // icons import { CycleIcon, ModuleIcon, PageIcon, ViewsIcon, WorkItemsIcon } from "@plane/propel/icons"; // types diff --git a/apps/web/core/components/pages/dropdowns/actions.tsx b/apps/web/core/components/pages/dropdowns/actions.tsx index 7b1e3006d..f234dd223 100644 --- a/apps/web/core/components/pages/dropdowns/actions.tsx +++ b/apps/web/core/components/pages/dropdowns/actions.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/pages/editor/title.tsx b/apps/web/core/components/pages/editor/title.tsx index 7390ef012..bfb497aea 100644 --- a/apps/web/core/components/pages/editor/title.tsx +++ b/apps/web/core/components/pages/editor/title.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; // editor diff --git a/apps/web/core/components/pages/editor/toolbar/color-dropdown.tsx b/apps/web/core/components/pages/editor/toolbar/color-dropdown.tsx index 419a76bc1..febac48a7 100644 --- a/apps/web/core/components/pages/editor/toolbar/color-dropdown.tsx +++ b/apps/web/core/components/pages/editor/toolbar/color-dropdown.tsx @@ -1,5 +1,3 @@ -"use client"; - import { memo } from "react"; import { ALargeSmall, Ban } from "lucide-react"; import { Popover } from "@headlessui/react"; diff --git a/apps/web/core/components/pages/editor/toolbar/options-dropdown.tsx b/apps/web/core/components/pages/editor/toolbar/options-dropdown.tsx index f5a51b376..1b4e38c76 100644 --- a/apps/web/core/components/pages/editor/toolbar/options-dropdown.tsx +++ b/apps/web/core/components/pages/editor/toolbar/options-dropdown.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { ArrowUpToLine, Clipboard, History } from "lucide-react"; @@ -45,8 +43,8 @@ export const PageOptionsDropdown = observer(function PageOptionsDropdown(props: // query params const { updateQueryParams } = useQueryParams(); // menu items list - const EXTRA_MENU_OPTIONS: (TContextMenuItem & { key: TPageActions })[] = useMemo( - () => [ + const EXTRA_MENU_OPTIONS = useMemo(function EXTRA_MENU_OPTIONS() { + return [ { key: "full-screen", action: () => handleFullWidth(!isFullWidth), @@ -108,9 +106,8 @@ export const PageOptionsDropdown = observer(function PageOptionsDropdown(props: icon: ArrowUpToLine, shouldRender: true, }, - ], - [] - ); + ]; + }); return ( <> diff --git a/apps/web/core/components/pages/editor/toolbar/toolbar.tsx b/apps/web/core/components/pages/editor/toolbar/toolbar.tsx index 25fca8ec9..6ba28ec78 100644 --- a/apps/web/core/components/pages/editor/toolbar/toolbar.tsx +++ b/apps/web/core/components/pages/editor/toolbar/toolbar.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState, useCallback } from "react"; import { Check } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/pages/header/actions.tsx b/apps/web/core/components/pages/header/actions.tsx index 8d90fc4fb..f381ef5d0 100644 --- a/apps/web/core/components/pages/header/actions.tsx +++ b/apps/web/core/components/pages/header/actions.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane web components import { PageLockControl } from "@/plane-web/components/pages/header/lock-control"; diff --git a/apps/web/core/components/pages/list/block-item-action.tsx b/apps/web/core/components/pages/list/block-item-action.tsx index 4842e72d4..e6e817c77 100644 --- a/apps/web/core/components/pages/list/block-item-action.tsx +++ b/apps/web/core/components/pages/list/block-item-action.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Earth, Info, Lock, Minus } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/pages/list/block.tsx b/apps/web/core/components/pages/list/block.tsx index 4ba78b20b..05217898d 100644 --- a/apps/web/core/components/pages/list/block.tsx +++ b/apps/web/core/components/pages/list/block.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useRef } from "react"; import { observer } from "mobx-react"; import { Logo } from "@plane/propel/emoji-icon-picker"; diff --git a/apps/web/core/components/pages/list/order-by.tsx b/apps/web/core/components/pages/list/order-by.tsx index 54cf87f7d..a2276df2b 100644 --- a/apps/web/core/components/pages/list/order-by.tsx +++ b/apps/web/core/components/pages/list/order-by.tsx @@ -1,5 +1,3 @@ -"use client"; - import { ArrowDownWideNarrow, ArrowUpWideNarrow, Check } from "lucide-react"; // types import { getButtonStyling } from "@plane/propel/button"; diff --git a/apps/web/core/components/pages/loaders/page-content-loader.tsx b/apps/web/core/components/pages/loaders/page-content-loader.tsx index 464ae7014..b099ffaab 100644 --- a/apps/web/core/components/pages/loaders/page-content-loader.tsx +++ b/apps/web/core/components/pages/loaders/page-content-loader.tsx @@ -1,5 +1,3 @@ -"use client"; - // plane imports import { Loader } from "@plane/ui"; import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/pages/loaders/page-loader.tsx b/apps/web/core/components/pages/loaders/page-loader.tsx index 90bb08a99..00ceb34e8 100644 --- a/apps/web/core/components/pages/loaders/page-loader.tsx +++ b/apps/web/core/components/pages/loaders/page-loader.tsx @@ -1,5 +1,3 @@ -"use client"; - import { range } from "lodash-es"; import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/pages/modals/delete-page-modal.tsx b/apps/web/core/components/pages/modals/delete-page-modal.tsx index d184d4ed7..37845aaf4 100644 --- a/apps/web/core/components/pages/modals/delete-page-modal.tsx +++ b/apps/web/core/components/pages/modals/delete-page-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/web/core/components/pages/modals/export-page-modal.tsx b/apps/web/core/components/pages/modals/export-page-modal.tsx index d9b0b1e56..99a7988de 100644 --- a/apps/web/core/components/pages/modals/export-page-modal.tsx +++ b/apps/web/core/components/pages/modals/export-page-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import type { PageProps } from "@react-pdf/renderer"; import { pdf } from "@react-pdf/renderer"; diff --git a/apps/web/core/components/pages/modals/page-form.tsx b/apps/web/core/components/pages/modals/page-form.tsx index 074128a8c..55d7864be 100644 --- a/apps/web/core/components/pages/modals/page-form.tsx +++ b/apps/web/core/components/pages/modals/page-form.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FormEvent } from "react"; import { useState } from "react"; import type { LucideIcon } from "lucide-react"; diff --git a/apps/web/core/components/pages/pages-list-main-content.tsx b/apps/web/core/components/pages/pages-list-main-content.tsx index c14b6d341..58e239140 100644 --- a/apps/web/core/components/pages/pages-list-main-content.tsx +++ b/apps/web/core/components/pages/pages-list-main-content.tsx @@ -1,4 +1,3 @@ -"use client"; import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/global-shortcuts.tsx b/apps/web/core/components/power-k/global-shortcuts.tsx index 33070c4d4..f0bda6776 100644 --- a/apps/web/core/components/power-k/global-shortcuts.tsx +++ b/apps/web/core/components/power-k/global-shortcuts.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/power-k/menus/builder.tsx b/apps/web/core/components/power-k/menus/builder.tsx index 70f549f8d..e7b0b8258 100644 --- a/apps/web/core/components/power-k/menus/builder.tsx +++ b/apps/web/core/components/power-k/menus/builder.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { Command } from "cmdk"; // local imports diff --git a/apps/web/core/components/power-k/menus/cycles.tsx b/apps/web/core/components/power-k/menus/cycles.tsx index 16878c44f..b6af888e4 100644 --- a/apps/web/core/components/power-k/menus/cycles.tsx +++ b/apps/web/core/components/power-k/menus/cycles.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/menus/labels.tsx b/apps/web/core/components/power-k/menus/labels.tsx index be3956157..61e87d7d4 100644 --- a/apps/web/core/components/power-k/menus/labels.tsx +++ b/apps/web/core/components/power-k/menus/labels.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/menus/members.tsx b/apps/web/core/components/power-k/menus/members.tsx index 0e4aa2cfb..ab0e54904 100644 --- a/apps/web/core/components/power-k/menus/members.tsx +++ b/apps/web/core/components/power-k/menus/members.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Command } from "cmdk"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/menus/modules.tsx b/apps/web/core/components/power-k/menus/modules.tsx index 9b42c72e3..8684cfdd0 100644 --- a/apps/web/core/components/power-k/menus/modules.tsx +++ b/apps/web/core/components/power-k/menus/modules.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/menus/projects.tsx b/apps/web/core/components/power-k/menus/projects.tsx index 1e1be2c51..c65f902e5 100644 --- a/apps/web/core/components/power-k/menus/projects.tsx +++ b/apps/web/core/components/power-k/menus/projects.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // components import { Logo } from "@plane/propel/emoji-icon-picker"; diff --git a/apps/web/core/components/power-k/menus/settings.tsx b/apps/web/core/components/power-k/menus/settings.tsx index 6eaa0c124..ed594f3b1 100644 --- a/apps/web/core/components/power-k/menus/settings.tsx +++ b/apps/web/core/components/power-k/menus/settings.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; // local imports diff --git a/apps/web/core/components/power-k/menus/views.tsx b/apps/web/core/components/power-k/menus/views.tsx index 68daeddc5..fdd8ec8d9 100644 --- a/apps/web/core/components/power-k/menus/views.tsx +++ b/apps/web/core/components/power-k/menus/views.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import { Layers } from "lucide-react"; diff --git a/apps/web/core/components/power-k/menus/workspaces.tsx b/apps/web/core/components/power-k/menus/workspaces.tsx index 49df29979..a8c494628 100644 --- a/apps/web/core/components/power-k/menus/workspaces.tsx +++ b/apps/web/core/components/power-k/menus/workspaces.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // plane imports import type { IWorkspace } from "@plane/types"; diff --git a/apps/web/core/components/power-k/projects-app-provider.tsx b/apps/web/core/components/power-k/projects-app-provider.tsx index 4e3065874..8b0caffa7 100644 --- a/apps/web/core/components/power-k/projects-app-provider.tsx +++ b/apps/web/core/components/power-k/projects-app-provider.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/power-k/ui/modal/footer.tsx b/apps/web/core/components/power-k/ui/modal/footer.tsx index dab5cbccc..ed7a9d967 100644 --- a/apps/web/core/components/power-k/ui/modal/footer.tsx +++ b/apps/web/core/components/power-k/ui/modal/footer.tsx @@ -1,5 +1,3 @@ -"use client"; - import type React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/ui/modal/header.tsx b/apps/web/core/components/power-k/ui/modal/header.tsx index b9063df20..47cf9e87e 100644 --- a/apps/web/core/components/power-k/ui/modal/header.tsx +++ b/apps/web/core/components/power-k/ui/modal/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { Command } from "cmdk"; import { X, Search } from "lucide-react"; diff --git a/apps/web/core/components/power-k/ui/modal/search-menu.tsx b/apps/web/core/components/power-k/ui/modal/search-menu.tsx index 599702f19..65cfa513f 100644 --- a/apps/web/core/components/power-k/ui/modal/search-menu.tsx +++ b/apps/web/core/components/power-k/ui/modal/search-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState, useEffect } from "react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/power-k/ui/modal/search-results-map.tsx b/apps/web/core/components/power-k/ui/modal/search-results-map.tsx index 601a81a99..74da1f75c 100644 --- a/apps/web/core/components/power-k/ui/modal/search-results-map.tsx +++ b/apps/web/core/components/power-k/ui/modal/search-results-map.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Briefcase, FileText, Layers, LayoutGrid } from "lucide-react"; // plane imports import { ContrastIcon, DiceIcon } from "@plane/propel/icons"; diff --git a/apps/web/core/components/power-k/ui/modal/search-results.tsx b/apps/web/core/components/power-k/ui/modal/search-results.tsx index eb8c13dc6..efe942ed4 100644 --- a/apps/web/core/components/power-k/ui/modal/search-results.tsx +++ b/apps/web/core/components/power-k/ui/modal/search-results.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Command } from "cmdk"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx b/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx index 63dcd886e..b78b0895f 100644 --- a/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx +++ b/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState, Fragment } from "react"; import { Search } from "lucide-react"; import { Dialog, Transition } from "@headlessui/react"; diff --git a/apps/web/core/components/power-k/ui/modal/wrapper.tsx b/apps/web/core/components/power-k/ui/modal/wrapper.tsx index a3c6b0c2b..8c4148dcb 100644 --- a/apps/web/core/components/power-k/ui/modal/wrapper.tsx +++ b/apps/web/core/components/power-k/ui/modal/wrapper.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState, useEffect, useCallback } from "react"; import { Command } from "cmdk"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/module/root.tsx b/apps/web/core/components/power-k/ui/pages/context-based/module/root.tsx index ad2f74ffe..8aefda0ca 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/module/root.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/module/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // components diff --git a/apps/web/core/components/power-k/ui/pages/context-based/module/status-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/module/status-menu.tsx index 5de812229..063521751 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/module/status-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/module/status-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Command } from "cmdk"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/cycles-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/cycles-menu.tsx index b413f4f41..1fbc7befe 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/cycles-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/cycles-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane types import type { ICycle, TIssue } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/estimates-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/estimates-menu.tsx index d310bbfe6..30b7f4ac4 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/estimates-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/estimates-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Command } from "cmdk"; import { observer } from "mobx-react"; import { Triangle } from "lucide-react"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/labels-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/labels-menu.tsx index 763520a86..03d974506 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/labels-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/labels-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane types import type { IIssueLabel, TIssue } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/modules-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/modules-menu.tsx index a4f31d6e8..bda75dc73 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/modules-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/modules-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane types import type { IModule, TIssue } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/priorities-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/priorities-menu.tsx index 45b16c321..881604447 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/priorities-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/priorities-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Command } from "cmdk"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/root.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/root.tsx index 1f4a4b0f7..efe2f978d 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/root.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports diff --git a/apps/web/core/components/power-k/ui/pages/context-based/work-item/states-menu.tsx b/apps/web/core/components/power-k/ui/pages/context-based/work-item/states-menu.tsx index 255645dfe..6afc459f0 100644 --- a/apps/web/core/components/power-k/ui/pages/context-based/work-item/states-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/context-based/work-item/states-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Command } from "cmdk"; import { observer } from "mobx-react"; // plane types diff --git a/apps/web/core/components/power-k/ui/pages/default.tsx b/apps/web/core/components/power-k/ui/pages/default.tsx index b8bc83c9f..72e905c05 100644 --- a/apps/web/core/components/power-k/ui/pages/default.tsx +++ b/apps/web/core/components/power-k/ui/pages/default.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // hooks import { usePowerK } from "@/hooks/store/use-power-k"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/project-cycles-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/project-cycles-menu.tsx index 604f87a08..448aa8fbe 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/project-cycles-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/project-cycles-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane types import type { ICycle } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/project-modules-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/project-modules-menu.tsx index cdaff953f..a17501460 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/project-modules-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/project-modules-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane types import type { IModule } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/project-settings-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/project-settings-menu.tsx index fda64ae48..109bb67ef 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/project-settings-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/project-settings-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane types import { EUserPermissionsLevel } from "@plane/constants"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/project-views-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/project-views-menu.tsx index 6a6004137..6d59efa94 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/project-views-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/project-views-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane types import type { IProjectView } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/projects-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/projects-menu.tsx index 81cfa8163..2c3913ffe 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/projects-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/projects-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane types import type { IPartialProject } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/workspace-settings-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/workspace-settings-menu.tsx index 2dd1b328c..8fd3a5038 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/workspace-settings-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/workspace-settings-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane types import { EUserPermissionsLevel, WORKSPACE_SETTINGS } from "@plane/constants"; diff --git a/apps/web/core/components/power-k/ui/pages/open-entity/workspaces-menu.tsx b/apps/web/core/components/power-k/ui/pages/open-entity/workspaces-menu.tsx index 92dcbdc3a..755a78376 100644 --- a/apps/web/core/components/power-k/ui/pages/open-entity/workspaces-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/open-entity/workspaces-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane types import type { IWorkspace } from "@plane/types"; diff --git a/apps/web/core/components/power-k/ui/pages/preferences/languages-menu.tsx b/apps/web/core/components/power-k/ui/pages/preferences/languages-menu.tsx index dcef2dec0..63039ae89 100644 --- a/apps/web/core/components/power-k/ui/pages/preferences/languages-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/preferences/languages-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { Command } from "cmdk"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/power-k/ui/pages/preferences/root.tsx b/apps/web/core/components/power-k/ui/pages/preferences/root.tsx index 2f70d03c4..a40ca22a5 100644 --- a/apps/web/core/components/power-k/ui/pages/preferences/root.tsx +++ b/apps/web/core/components/power-k/ui/pages/preferences/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; // components diff --git a/apps/web/core/components/power-k/ui/pages/preferences/start-of-week-menu.tsx b/apps/web/core/components/power-k/ui/pages/preferences/start-of-week-menu.tsx index 5503c4828..d16dcb75e 100644 --- a/apps/web/core/components/power-k/ui/pages/preferences/start-of-week-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/preferences/start-of-week-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { Command } from "cmdk"; // plane imports diff --git a/apps/web/core/components/power-k/ui/pages/preferences/themes-menu.tsx b/apps/web/core/components/power-k/ui/pages/preferences/themes-menu.tsx index eed0539dd..ca64085b7 100644 --- a/apps/web/core/components/power-k/ui/pages/preferences/themes-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/preferences/themes-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { Command } from "cmdk"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/power-k/ui/pages/preferences/timezone-menu.tsx b/apps/web/core/components/power-k/ui/pages/preferences/timezone-menu.tsx index dd9378e02..088ca359a 100644 --- a/apps/web/core/components/power-k/ui/pages/preferences/timezone-menu.tsx +++ b/apps/web/core/components/power-k/ui/pages/preferences/timezone-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { Command } from "cmdk"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/power-k/ui/pages/root.tsx b/apps/web/core/components/power-k/ui/pages/root.tsx index f06e457bc..8286b32d2 100644 --- a/apps/web/core/components/power-k/ui/pages/root.tsx +++ b/apps/web/core/components/power-k/ui/pages/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; // local imports diff --git a/apps/web/core/components/power-k/ui/pages/work-item-selection-page.tsx b/apps/web/core/components/power-k/ui/pages/work-item-selection-page.tsx index 2904a55c5..47b71e0ac 100644 --- a/apps/web/core/components/power-k/ui/pages/work-item-selection-page.tsx +++ b/apps/web/core/components/power-k/ui/pages/work-item-selection-page.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState, useEffect } from "react"; // plane imports // import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/power-k/ui/renderer/command.tsx b/apps/web/core/components/power-k/ui/renderer/command.tsx index bd3f78d23..4422a3161 100644 --- a/apps/web/core/components/power-k/ui/renderer/command.tsx +++ b/apps/web/core/components/power-k/ui/renderer/command.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { Command } from "cmdk"; // plane imports diff --git a/apps/web/core/components/profile/activity/download-button.tsx b/apps/web/core/components/profile/activity/download-button.tsx index 276a2e5db..9eb5ccd83 100644 --- a/apps/web/core/components/profile/activity/download-button.tsx +++ b/apps/web/core/components/profile/activity/download-button.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { useParams } from "next/navigation"; // services diff --git a/apps/web/core/components/profile/notification/email-notification-form.tsx b/apps/web/core/components/profile/notification/email-notification-form.tsx index 7dae24421..978625099 100644 --- a/apps/web/core/components/profile/notification/email-notification-form.tsx +++ b/apps/web/core/components/profile/notification/email-notification-form.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import React, { useEffect } from "react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/profile/overview/activity.tsx b/apps/web/core/components/profile/overview/activity.tsx index 2155f6f6e..cf17f818b 100644 --- a/apps/web/core/components/profile/overview/activity.tsx +++ b/apps/web/core/components/profile/overview/activity.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { useParams } from "next/navigation"; import useSWR from "swr"; diff --git a/apps/web/core/components/profile/overview/priority-distribution.tsx b/apps/web/core/components/profile/overview/priority-distribution.tsx index aec29c3b7..65b0f32b7 100644 --- a/apps/web/core/components/profile/overview/priority-distribution.tsx +++ b/apps/web/core/components/profile/overview/priority-distribution.tsx @@ -1,5 +1,3 @@ -"use client"; - // plane imports import { useTranslation } from "@plane/i18n"; import { BarChart } from "@plane/propel/charts/bar-chart"; diff --git a/apps/web/core/components/profile/overview/stats.tsx b/apps/web/core/components/profile/overview/stats.tsx index 1c9692d1e..85f2c9279 100644 --- a/apps/web/core/components/profile/overview/stats.tsx +++ b/apps/web/core/components/profile/overview/stats.tsx @@ -1,5 +1,3 @@ -"use client"; - import Link from "next/link"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/profile/profile-setting-content-header.tsx b/apps/web/core/components/profile/profile-setting-content-header.tsx index 218039d89..ade1db7fc 100644 --- a/apps/web/core/components/profile/profile-setting-content-header.tsx +++ b/apps/web/core/components/profile/profile-setting-content-header.tsx @@ -1,5 +1,3 @@ -"use client"; - type Props = { title: string; description?: string; diff --git a/apps/web/core/components/profile/profile-setting-content-wrapper.tsx b/apps/web/core/components/profile/profile-setting-content-wrapper.tsx index 6a9acca62..0e2151175 100644 --- a/apps/web/core/components/profile/profile-setting-content-wrapper.tsx +++ b/apps/web/core/components/profile/profile-setting-content-wrapper.tsx @@ -1,5 +1,3 @@ -"use client"; - import { cn } from "@plane/utils"; import { SidebarHamburgerToggle } from "@/components/core/sidebar/sidebar-menu-hamburger-toggle"; diff --git a/apps/web/core/components/profile/sidebar.tsx b/apps/web/core/components/profile/sidebar.tsx index f9425d4dc..655207829 100644 --- a/apps/web/core/components/profile/sidebar.tsx +++ b/apps/web/core/components/profile/sidebar.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/profile/start-of-week-preference.tsx b/apps/web/core/components/profile/start-of-week-preference.tsx index b89d4085a..259e570a7 100644 --- a/apps/web/core/components/profile/start-of-week-preference.tsx +++ b/apps/web/core/components/profile/start-of-week-preference.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/project-states/create-update/create.tsx b/apps/web/core/components/project-states/create-update/create.tsx index ec3b8f465..c0f6bf490 100644 --- a/apps/web/core/components/project-states/create-update/create.tsx +++ b/apps/web/core/components/project-states/create-update/create.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { STATE_TRACKER_EVENTS, STATE_GROUPS } from "@plane/constants"; diff --git a/apps/web/core/components/project-states/create-update/form.tsx b/apps/web/core/components/project-states/create-update/form.tsx index 0f66a0371..a7f763a76 100644 --- a/apps/web/core/components/project-states/create-update/form.tsx +++ b/apps/web/core/components/project-states/create-update/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useState, useMemo } from "react"; import { TwitterPicker } from "react-color"; import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/project-states/create-update/update.tsx b/apps/web/core/components/project-states/create-update/update.tsx index 5ab3ba766..f48da1e8d 100644 --- a/apps/web/core/components/project-states/create-update/update.tsx +++ b/apps/web/core/components/project-states/create-update/update.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { STATE_TRACKER_EVENTS } from "@plane/constants"; diff --git a/apps/web/core/components/project-states/group-item.tsx b/apps/web/core/components/project-states/group-item.tsx index a8ecbc8be..7d4bc9b15 100644 --- a/apps/web/core/components/project-states/group-item.tsx +++ b/apps/web/core/components/project-states/group-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState, useRef } from "react"; import { observer } from "mobx-react"; import { Plus } from "lucide-react"; diff --git a/apps/web/core/components/project-states/group-list.tsx b/apps/web/core/components/project-states/group-list.tsx index 92d6e95d6..6490340ab 100644 --- a/apps/web/core/components/project-states/group-list.tsx +++ b/apps/web/core/components/project-states/group-list.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/project-states/loader.tsx b/apps/web/core/components/project-states/loader.tsx index 300fcea14..2cb7b3f82 100644 --- a/apps/web/core/components/project-states/loader.tsx +++ b/apps/web/core/components/project-states/loader.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Loader } from "@plane/ui"; export function ProjectStateLoader() { diff --git a/apps/web/core/components/project-states/options/delete.tsx b/apps/web/core/components/project-states/options/delete.tsx index 0f206d4bc..c49a4ac57 100644 --- a/apps/web/core/components/project-states/options/delete.tsx +++ b/apps/web/core/components/project-states/options/delete.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { Loader } from "lucide-react"; diff --git a/apps/web/core/components/project-states/options/mark-as-default.tsx b/apps/web/core/components/project-states/options/mark-as-default.tsx index 6af7dfdf2..2ff314e6f 100644 --- a/apps/web/core/components/project-states/options/mark-as-default.tsx +++ b/apps/web/core/components/project-states/options/mark-as-default.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/project-states/root.tsx b/apps/web/core/components/project-states/root.tsx index 8554c64ab..d9dbfc976 100644 --- a/apps/web/core/components/project-states/root.tsx +++ b/apps/web/core/components/project-states/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useMemo } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/project-states/state-delete-modal.tsx b/apps/web/core/components/project-states/state-delete-modal.tsx index ca7579f90..5caf4ad7d 100644 --- a/apps/web/core/components/project-states/state-delete-modal.tsx +++ b/apps/web/core/components/project-states/state-delete-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/project-states/state-item.tsx b/apps/web/core/components/project-states/state-item.tsx index 5ef0091d1..c4d101882 100644 --- a/apps/web/core/components/project-states/state-item.tsx +++ b/apps/web/core/components/project-states/state-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Fragment, useCallback, useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { draggable, dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/core/components/project-states/state-list.tsx b/apps/web/core/components/project-states/state-list.tsx index eee21ed9d..e379eaf64 100644 --- a/apps/web/core/components/project-states/state-list.tsx +++ b/apps/web/core/components/project-states/state-list.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import type { IState, TStateGroups, TStateOperationsCallbacks } from "@plane/types"; // components diff --git a/apps/web/core/components/project/applied-filters/members.tsx b/apps/web/core/components/project/applied-filters/members.tsx index 05ea6002a..20af0a042 100644 --- a/apps/web/core/components/project/applied-filters/members.tsx +++ b/apps/web/core/components/project/applied-filters/members.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { CloseIcon } from "@plane/propel/icons"; // ui diff --git a/apps/web/core/components/project/applied-filters/root.tsx b/apps/web/core/components/project/applied-filters/root.tsx index 104df4fc7..24392cd4e 100644 --- a/apps/web/core/components/project/applied-filters/root.tsx +++ b/apps/web/core/components/project/applied-filters/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useTranslation } from "@plane/i18n"; import { CloseIcon } from "@plane/propel/icons"; // plane imports diff --git a/apps/web/core/components/project/card.tsx b/apps/web/core/components/project/card.tsx index 852fcdeda..f7bae2994 100644 --- a/apps/web/core/components/project/card.tsx +++ b/apps/web/core/components/project/card.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useRef, useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/project/confirm-project-member-remove.tsx b/apps/web/core/components/project/confirm-project-member-remove.tsx index 4b8da5b29..697d456e0 100644 --- a/apps/web/core/components/project/confirm-project-member-remove.tsx +++ b/apps/web/core/components/project/confirm-project-member-remove.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/project/delete-project-modal.tsx b/apps/web/core/components/project/delete-project-modal.tsx index e9109747d..b167196bb 100644 --- a/apps/web/core/components/project/delete-project-modal.tsx +++ b/apps/web/core/components/project/delete-project-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { useParams } from "next/navigation"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/project/dropdowns/filters/lead.tsx b/apps/web/core/components/project/dropdowns/filters/lead.tsx index 72e24a37c..1c30fc548 100644 --- a/apps/web/core/components/project/dropdowns/filters/lead.tsx +++ b/apps/web/core/components/project/dropdowns/filters/lead.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/project/dropdowns/filters/members.tsx b/apps/web/core/components/project/dropdowns/filters/members.tsx index 910856741..a2e401b76 100644 --- a/apps/web/core/components/project/dropdowns/filters/members.tsx +++ b/apps/web/core/components/project/dropdowns/filters/members.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useMemo, useState } from "react"; import { sortBy } from "lodash-es"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/project/dropdowns/order-by.tsx b/apps/web/core/components/project/dropdowns/order-by.tsx index 3f0874104..11d81a90d 100644 --- a/apps/web/core/components/project/dropdowns/order-by.tsx +++ b/apps/web/core/components/project/dropdowns/order-by.tsx @@ -1,5 +1,3 @@ -"use client"; - import { ArrowDownWideNarrow, Check } from "lucide-react"; import { PROJECT_ORDER_BY_OPTIONS } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/project/empty-state.tsx b/apps/web/core/components/project/empty-state.tsx index d7bbc279d..574d6dba9 100644 --- a/apps/web/core/components/project/empty-state.tsx +++ b/apps/web/core/components/project/empty-state.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/project/form-loader.tsx b/apps/web/core/components/project/form-loader.tsx index 281804278..a8f3d690c 100644 --- a/apps/web/core/components/project/form-loader.tsx +++ b/apps/web/core/components/project/form-loader.tsx @@ -1,5 +1,3 @@ -"use client"; - // components import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/project/form.tsx b/apps/web/core/components/project/form.tsx index 135a3f555..0ac99e4c1 100644 --- a/apps/web/core/components/project/form.tsx +++ b/apps/web/core/components/project/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useState } from "react"; import { Controller, useForm } from "react-hook-form"; import { Info, Lock } from "lucide-react"; diff --git a/apps/web/core/components/project/header.tsx b/apps/web/core/components/project/header.tsx index 46b62cb98..788ba8cd8 100644 --- a/apps/web/core/components/project/header.tsx +++ b/apps/web/core/components/project/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { usePathname } from "next/navigation"; // i18n diff --git a/apps/web/core/components/project/integration-card.tsx b/apps/web/core/components/project/integration-card.tsx index 462307601..f1d158305 100644 --- a/apps/web/core/components/project/integration-card.tsx +++ b/apps/web/core/components/project/integration-card.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { useParams } from "next/navigation"; import useSWR, { mutate } from "swr"; diff --git a/apps/web/core/components/project/join-project-modal.tsx b/apps/web/core/components/project/join-project-modal.tsx index 396c029ec..a6fb6d04d 100644 --- a/apps/web/core/components/project/join-project-modal.tsx +++ b/apps/web/core/components/project/join-project-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState, Fragment } from "react"; import { Transition, Dialog } from "@headlessui/react"; diff --git a/apps/web/core/components/project/leave-project-modal.tsx b/apps/web/core/components/project/leave-project-modal.tsx index d25e8e47c..c8e1f7ee6 100644 --- a/apps/web/core/components/project/leave-project-modal.tsx +++ b/apps/web/core/components/project/leave-project-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Fragment } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/project/member-list-item.tsx b/apps/web/core/components/project/member-list-item.tsx index 58ee1ca33..299daebbb 100644 --- a/apps/web/core/components/project/member-list-item.tsx +++ b/apps/web/core/components/project/member-list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { MEMBER_TRACKER_EVENTS } from "@plane/constants"; diff --git a/apps/web/core/components/project/member-list.tsx b/apps/web/core/components/project/member-list.tsx index 4e69a48c8..260015427 100644 --- a/apps/web/core/components/project/member-list.tsx +++ b/apps/web/core/components/project/member-list.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { Search } from "lucide-react"; diff --git a/apps/web/core/components/project/member-select.tsx b/apps/web/core/components/project/member-select.tsx index b0f61602d..6a5611fad 100644 --- a/apps/web/core/components/project/member-select.tsx +++ b/apps/web/core/components/project/member-select.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/project/project-feature-update.tsx b/apps/web/core/components/project/project-feature-update.tsx index 322b190ff..e06bf988c 100644 --- a/apps/web/core/components/project/project-feature-update.tsx +++ b/apps/web/core/components/project/project-feature-update.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import Link from "next/link"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/project/project-settings-member-defaults.tsx b/apps/web/core/components/project/project-settings-member-defaults.tsx index d25f629c8..70d652ec0 100644 --- a/apps/web/core/components/project/project-settings-member-defaults.tsx +++ b/apps/web/core/components/project/project-settings-member-defaults.tsx @@ -1,4 +1,3 @@ -"use client"; import type { ReactNode } from "react"; import { useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/project/publish-project/modal.tsx b/apps/web/core/components/project/publish-project/modal.tsx index 7f38204ff..cc3695697 100644 --- a/apps/web/core/components/project/publish-project/modal.tsx +++ b/apps/web/core/components/project/publish-project/modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/project/root.tsx b/apps/web/core/components/project/root.tsx index 4e1b874d4..a9b87f1b5 100644 --- a/apps/web/core/components/project/root.tsx +++ b/apps/web/core/components/project/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useEffect } from "react"; import { observer } from "mobx-react"; import { useParams, usePathname } from "next/navigation"; diff --git a/apps/web/core/components/project/search-projects.tsx b/apps/web/core/components/project/search-projects.tsx index 7a6a06de7..0310b1cb7 100644 --- a/apps/web/core/components/project/search-projects.tsx +++ b/apps/web/core/components/project/search-projects.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useRef, useState } from "react"; import { observer } from "mobx-react"; import { Search } from "lucide-react"; diff --git a/apps/web/core/components/project/send-project-invitation-modal.tsx b/apps/web/core/components/project/send-project-invitation-modal.tsx index 6dbfb4cfe..e5f2d7e61 100644 --- a/apps/web/core/components/project/send-project-invitation-modal.tsx +++ b/apps/web/core/components/project/send-project-invitation-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect } from "react"; import { observer } from "mobx-react"; import { useForm, Controller, useFieldArray } from "react-hook-form"; diff --git a/apps/web/core/components/project/settings/archive-project/archive-restore-modal.tsx b/apps/web/core/components/project/settings/archive-project/archive-restore-modal.tsx index 221a536b9..f62b77205 100644 --- a/apps/web/core/components/project/settings/archive-project/archive-restore-modal.tsx +++ b/apps/web/core/components/project/settings/archive-project/archive-restore-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState, Fragment } from "react"; import { Dialog, Transition } from "@headlessui/react"; // ui diff --git a/apps/web/core/components/project/settings/archive-project/selection.tsx b/apps/web/core/components/project/settings/archive-project/selection.tsx index 6cc7b1e4c..408c682f9 100644 --- a/apps/web/core/components/project/settings/archive-project/selection.tsx +++ b/apps/web/core/components/project/settings/archive-project/selection.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { Disclosure, Transition } from "@headlessui/react"; // types diff --git a/apps/web/core/components/project/settings/delete-project-section.tsx b/apps/web/core/components/project/settings/delete-project-section.tsx index 27e2c9b01..def7df81c 100644 --- a/apps/web/core/components/project/settings/delete-project-section.tsx +++ b/apps/web/core/components/project/settings/delete-project-section.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { Disclosure, Transition } from "@headlessui/react"; // types diff --git a/apps/web/core/components/project/settings/features-list.tsx b/apps/web/core/components/project/settings/features-list.tsx index 332d52b8c..2fc29ddfc 100644 --- a/apps/web/core/components/project/settings/features-list.tsx +++ b/apps/web/core/components/project/settings/features-list.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { PROJECT_TRACKER_EVENTS } from "@plane/constants"; diff --git a/apps/web/core/components/readonly/cycle.tsx b/apps/web/core/components/readonly/cycle.tsx index 7ef535570..a5fe8e394 100644 --- a/apps/web/core/components/readonly/cycle.tsx +++ b/apps/web/core/components/readonly/cycle.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/readonly/date.tsx b/apps/web/core/components/readonly/date.tsx index ff01400ef..0de4c2245 100644 --- a/apps/web/core/components/readonly/date.tsx +++ b/apps/web/core/components/readonly/date.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Calendar } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/readonly/estimate.tsx b/apps/web/core/components/readonly/estimate.tsx index 414f0f76b..6c4f33055 100644 --- a/apps/web/core/components/readonly/estimate.tsx +++ b/apps/web/core/components/readonly/estimate.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { observer } from "mobx-react"; import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/readonly/labels.tsx b/apps/web/core/components/readonly/labels.tsx index 7a5d90029..992657184 100644 --- a/apps/web/core/components/readonly/labels.tsx +++ b/apps/web/core/components/readonly/labels.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/readonly/member.tsx b/apps/web/core/components/readonly/member.tsx index f4da66728..9b4287fec 100644 --- a/apps/web/core/components/readonly/member.tsx +++ b/apps/web/core/components/readonly/member.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import type { LucideIcon } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/readonly/module.tsx b/apps/web/core/components/readonly/module.tsx index b92e86c1f..af3092e9d 100644 --- a/apps/web/core/components/readonly/module.tsx +++ b/apps/web/core/components/readonly/module.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { observer } from "mobx-react"; import { Layers } from "lucide-react"; diff --git a/apps/web/core/components/readonly/priority.tsx b/apps/web/core/components/readonly/priority.tsx index cfed463dd..05773a23a 100644 --- a/apps/web/core/components/readonly/priority.tsx +++ b/apps/web/core/components/readonly/priority.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { ISSUE_PRIORITIES } from "@plane/constants"; diff --git a/apps/web/core/components/readonly/state.tsx b/apps/web/core/components/readonly/state.tsx index 8a7f467f5..1b7c8d7e9 100644 --- a/apps/web/core/components/readonly/state.tsx +++ b/apps/web/core/components/readonly/state.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/settings/header.tsx b/apps/web/core/components/settings/header.tsx index c5c06a9bb..b2c29f852 100644 --- a/apps/web/core/components/settings/header.tsx +++ b/apps/web/core/components/settings/header.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import Link from "next/link"; import { useTheme } from "next-themes"; diff --git a/apps/web/core/components/sidebar/resizable-sidebar.tsx b/apps/web/core/components/sidebar/resizable-sidebar.tsx index e3ea4384d..ece332368 100644 --- a/apps/web/core/components/sidebar/resizable-sidebar.tsx +++ b/apps/web/core/components/sidebar/resizable-sidebar.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Dispatch, ReactElement, SetStateAction } from "react"; import React, { useCallback, useEffect, useState, useRef } from "react"; // helpers diff --git a/apps/web/core/components/sidebar/sidebar-navigation.tsx b/apps/web/core/components/sidebar/sidebar-navigation.tsx index b2eaf06b0..856aaf870 100644 --- a/apps/web/core/components/sidebar/sidebar-navigation.tsx +++ b/apps/web/core/components/sidebar/sidebar-navigation.tsx @@ -1,5 +1,3 @@ -"use client"; - import { cn } from "@plane/utils"; type TSidebarNavItem = { diff --git a/apps/web/core/components/sidebar/sidebar-toggle-button.tsx b/apps/web/core/components/sidebar/sidebar-toggle-button.tsx index 1983e1463..49149344c 100644 --- a/apps/web/core/components/sidebar/sidebar-toggle-button.tsx +++ b/apps/web/core/components/sidebar/sidebar-toggle-button.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { PanelLeft } from "lucide-react"; // hooks diff --git a/apps/web/core/components/stickies/delete-modal.tsx b/apps/web/core/components/stickies/delete-modal.tsx index 6c7cbd86f..a29d16eea 100644 --- a/apps/web/core/components/stickies/delete-modal.tsx +++ b/apps/web/core/components/stickies/delete-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/web/core/components/stickies/modal/search.tsx b/apps/web/core/components/stickies/modal/search.tsx index 4a876e986..a9796d6d3 100644 --- a/apps/web/core/components/stickies/modal/search.tsx +++ b/apps/web/core/components/stickies/modal/search.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useCallback, useRef, useState } from "react"; import { debounce } from "lodash-es"; diff --git a/apps/web/core/components/stickies/sticky/sticky-item-drag-handle.tsx b/apps/web/core/components/stickies/sticky/sticky-item-drag-handle.tsx index ddf3ab95a..84dfaf01d 100644 --- a/apps/web/core/components/stickies/sticky/sticky-item-drag-handle.tsx +++ b/apps/web/core/components/stickies/sticky/sticky-item-drag-handle.tsx @@ -1,4 +1,3 @@ -"use client"; import { observer } from "mobx-react"; // ui import { DragHandle } from "@plane/ui"; diff --git a/apps/web/core/components/ui/labels-list.tsx b/apps/web/core/components/ui/labels-list.tsx index 35c402b31..81d150756 100644 --- a/apps/web/core/components/ui/labels-list.tsx +++ b/apps/web/core/components/ui/labels-list.tsx @@ -1,5 +1,3 @@ -"use client"; - // ui import { Tooltip } from "@plane/propel/tooltip"; import type { IIssueLabel } from "@plane/types"; diff --git a/apps/web/core/components/ui/loader/layouts/project-inbox/inbox-layout-loader.tsx b/apps/web/core/components/ui/loader/layouts/project-inbox/inbox-layout-loader.tsx index aad510719..265f674f2 100644 --- a/apps/web/core/components/ui/loader/layouts/project-inbox/inbox-layout-loader.tsx +++ b/apps/web/core/components/ui/loader/layouts/project-inbox/inbox-layout-loader.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // ui import { Loader } from "@plane/ui"; diff --git a/apps/web/core/components/views/delete-view-modal.tsx b/apps/web/core/components/views/delete-view-modal.tsx index eec33a12f..b1810b30f 100644 --- a/apps/web/core/components/views/delete-view-modal.tsx +++ b/apps/web/core/components/views/delete-view-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { useParams, useRouter } from "next/navigation"; diff --git a/apps/web/core/components/views/filters/order-by.tsx b/apps/web/core/components/views/filters/order-by.tsx index 7a24fbaf0..13f34a4a3 100644 --- a/apps/web/core/components/views/filters/order-by.tsx +++ b/apps/web/core/components/views/filters/order-by.tsx @@ -1,5 +1,3 @@ -"use client"; - import { ArrowDownWideNarrow, ArrowUpWideNarrow, Check } from "lucide-react"; // types import { VIEW_SORT_BY_OPTIONS, VIEW_SORTING_KEY_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/views/form.tsx b/apps/web/core/components/views/form.tsx index 00cafc602..644c70f96 100644 --- a/apps/web/core/components/views/form.tsx +++ b/apps/web/core/components/views/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/views/modal.tsx b/apps/web/core/components/views/modal.tsx index 13ee993ec..289d1d44b 100644 --- a/apps/web/core/components/views/modal.tsx +++ b/apps/web/core/components/views/modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/views/quick-actions.tsx b/apps/web/core/components/views/quick-actions.tsx index 118226cc8..4fcaab65d 100644 --- a/apps/web/core/components/views/quick-actions.tsx +++ b/apps/web/core/components/views/quick-actions.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; // types diff --git a/apps/web/core/components/views/view-list-item.tsx b/apps/web/core/components/views/view-list-item.tsx index 24a2298d7..403c801fd 100644 --- a/apps/web/core/components/views/view-list-item.tsx +++ b/apps/web/core/components/views/view-list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useRef } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/web-hooks/create-webhook-modal.tsx b/apps/web/core/components/web-hooks/create-webhook-modal.tsx index 7e1b2b261..49f8b6c31 100644 --- a/apps/web/core/components/web-hooks/create-webhook-modal.tsx +++ b/apps/web/core/components/web-hooks/create-webhook-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { useParams } from "next/navigation"; // types diff --git a/apps/web/core/components/web-hooks/delete-webhook-modal.tsx b/apps/web/core/components/web-hooks/delete-webhook-modal.tsx index ebe0f009c..f370b8b60 100644 --- a/apps/web/core/components/web-hooks/delete-webhook-modal.tsx +++ b/apps/web/core/components/web-hooks/delete-webhook-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { useParams } from "next/navigation"; // ui diff --git a/apps/web/core/components/web-hooks/empty-state.tsx b/apps/web/core/components/web-hooks/empty-state.tsx index bb2e14da1..ee113252e 100644 --- a/apps/web/core/components/web-hooks/empty-state.tsx +++ b/apps/web/core/components/web-hooks/empty-state.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // ui import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/web-hooks/form/delete-section.tsx b/apps/web/core/components/web-hooks/form/delete-section.tsx index 4a5ad5311..7093d1820 100644 --- a/apps/web/core/components/web-hooks/form/delete-section.tsx +++ b/apps/web/core/components/web-hooks/form/delete-section.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Disclosure, Transition } from "@headlessui/react"; import { WORKSPACE_SETTINGS_TRACKER_ELEMENTS } from "@plane/constants"; import { Button } from "@plane/propel/button"; diff --git a/apps/web/core/components/web-hooks/form/form.tsx b/apps/web/core/components/web-hooks/form/form.tsx index 40757faa7..c26b5e4f7 100644 --- a/apps/web/core/components/web-hooks/form/form.tsx +++ b/apps/web/core/components/web-hooks/form/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/web-hooks/form/input.tsx b/apps/web/core/components/web-hooks/form/input.tsx index 72c72fb88..dfe5d87b9 100644 --- a/apps/web/core/components/web-hooks/form/input.tsx +++ b/apps/web/core/components/web-hooks/form/input.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useTranslation } from "@plane/i18n"; import { Input } from "@plane/ui"; diff --git a/apps/web/core/components/web-hooks/form/secret-key.tsx b/apps/web/core/components/web-hooks/form/secret-key.tsx index 8d2b4f505..44cf64504 100644 --- a/apps/web/core/components/web-hooks/form/secret-key.tsx +++ b/apps/web/core/components/web-hooks/form/secret-key.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { useState } from "react"; import { range } from "lodash-es"; diff --git a/apps/web/core/components/web-hooks/form/toggle.tsx b/apps/web/core/components/web-hooks/form/toggle.tsx index c6f6cd1a6..e6d4a68c3 100644 --- a/apps/web/core/components/web-hooks/form/toggle.tsx +++ b/apps/web/core/components/web-hooks/form/toggle.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Control } from "react-hook-form"; import { Controller } from "react-hook-form"; // constants diff --git a/apps/web/core/components/web-hooks/generated-hook-details.tsx b/apps/web/core/components/web-hooks/generated-hook-details.tsx index 0d91d6923..2d82d3f0f 100644 --- a/apps/web/core/components/web-hooks/generated-hook-details.tsx +++ b/apps/web/core/components/web-hooks/generated-hook-details.tsx @@ -1,5 +1,3 @@ -"use client"; - // components // ui import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/web-hooks/webhooks-list-item.tsx b/apps/web/core/components/web-hooks/webhooks-list-item.tsx index 1a1113dfd..ccdb3a059 100644 --- a/apps/web/core/components/web-hooks/webhooks-list-item.tsx +++ b/apps/web/core/components/web-hooks/webhooks-list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import Link from "next/link"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace-notifications/notification-app-sidebar-option.tsx b/apps/web/core/components/workspace-notifications/notification-app-sidebar-option.tsx index 5b2b846ee..788963fc9 100644 --- a/apps/web/core/components/workspace-notifications/notification-app-sidebar-option.tsx +++ b/apps/web/core/components/workspace-notifications/notification-app-sidebar-option.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/workspace-notifications/root.tsx b/apps/web/core/components/workspace-notifications/root.tsx index e47af82d7..26e856bd1 100644 --- a/apps/web/core/components/workspace-notifications/root.tsx +++ b/apps/web/core/components/workspace-notifications/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useEffect } from "react"; import { observer } from "mobx-react"; import useSWR from "swr"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/empty-state.tsx b/apps/web/core/components/workspace-notifications/sidebar/empty-state.tsx index 636d22c0d..f67dc0b0d 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/empty-state.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/empty-state.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { ENotificationTab } from "@plane/constants"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/filters/applied-filter.tsx b/apps/web/core/components/workspace-notifications/sidebar/filters/applied-filter.tsx index 398316e22..fd216a420 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/filters/applied-filter.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/filters/applied-filter.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { ENotificationFilterType, FILTER_TYPE_OPTIONS } from "@plane/constants"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx b/apps/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx index b9a31c59e..e69da7f1d 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/filters/menu/menu-option-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Check } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/workspace-notifications/sidebar/filters/menu/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/filters/menu/root.tsx index 8f21c4716..a8bb4fa65 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/filters/menu/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/filters/menu/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { ListFilter } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/menu-item.tsx b/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/menu-item.tsx index 8a41ee5fc..bd2e77ab6 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/menu-item.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/menu-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // components import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/root.tsx index d4e13b8ce..92a6cb4ed 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/header/options/menu-option/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; import { observer } from "mobx-react"; import { Check, CheckCircle, Clock } from "lucide-react"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/header/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/header/root.tsx index 31afbf7d5..4a935c52a 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/header/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/header/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // plane imports import { useTranslation } from "@plane/i18n"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/item.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/item.tsx index 5c97510b4..9fa218329 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/item.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { Clock } from "lucide-react"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/archive.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/archive.tsx index 16cdae194..57c248662 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/archive.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/archive.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { ArchiveRestore } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/button.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/button.tsx index d8666e8a2..c244a877c 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/button.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/button.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; import { Tooltip } from "@plane/propel/tooltip"; // helpers diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/read.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/read.tsx index 60fbe6744..fe25873e0 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/read.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/read.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { MessageSquare } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/root.tsx index 1d7125c84..a0d7ec167 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Dispatch, SetStateAction } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/modal.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/modal.tsx index 4cc22fc3e..c98c3e1f1 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/modal.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Fragment } from "react"; import { useParams } from "next/navigation"; import { useForm, Controller } from "react-hook-form"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/root.tsx index f7591dae4..00e6afd58 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/notification-card/options/snooze/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Dispatch, SetStateAction } from "react"; import { Fragment } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/workspace-notifications/sidebar/root.tsx b/apps/web/core/components/workspace-notifications/sidebar/root.tsx index 1f20ba2a9..b5b55ea45 100644 --- a/apps/web/core/components/workspace-notifications/sidebar/root.tsx +++ b/apps/web/core/components/workspace-notifications/sidebar/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useCallback } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/ConfirmWorkspaceMemberRemove.tsx b/apps/web/core/components/workspace/ConfirmWorkspaceMemberRemove.tsx index 556ba9ac1..f7c03ebb2 100644 --- a/apps/web/core/components/workspace/ConfirmWorkspaceMemberRemove.tsx +++ b/apps/web/core/components/workspace/ConfirmWorkspaceMemberRemove.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { AlertTriangle } from "lucide-react"; diff --git a/apps/web/core/components/workspace/confirm-workspace-member-remove.tsx b/apps/web/core/components/workspace/confirm-workspace-member-remove.tsx index 783012de0..34a07953f 100644 --- a/apps/web/core/components/workspace/confirm-workspace-member-remove.tsx +++ b/apps/web/core/components/workspace/confirm-workspace-member-remove.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { AlertTriangle } from "lucide-react"; diff --git a/apps/web/core/components/workspace/create-workspace-form.tsx b/apps/web/core/components/workspace/create-workspace-form.tsx index 6abe0324e..4a85cd03e 100644 --- a/apps/web/core/components/workspace/create-workspace-form.tsx +++ b/apps/web/core/components/workspace/create-workspace-form.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Dispatch, SetStateAction } from "react"; import { useEffect, useState } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/workspace/delete-workspace-form.tsx b/apps/web/core/components/workspace/delete-workspace-form.tsx index 0e1bb4982..40efa73c9 100644 --- a/apps/web/core/components/workspace/delete-workspace-form.tsx +++ b/apps/web/core/components/workspace/delete-workspace-form.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/workspace/invite-modal/fields.tsx b/apps/web/core/components/workspace/invite-modal/fields.tsx index 1ecf8d21f..bd6ba085b 100644 --- a/apps/web/core/components/workspace/invite-modal/fields.tsx +++ b/apps/web/core/components/workspace/invite-modal/fields.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import type { Control, FieldArrayWithId, FormState } from "react-hook-form"; import { Controller } from "react-hook-form"; diff --git a/apps/web/core/components/workspace/invite-modal/form.tsx b/apps/web/core/components/workspace/invite-modal/form.tsx index d23c5b0b4..d1755d706 100644 --- a/apps/web/core/components/workspace/invite-modal/form.tsx +++ b/apps/web/core/components/workspace/invite-modal/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Dialog } from "@headlessui/react"; diff --git a/apps/web/core/components/workspace/settings/invitations-list-item.tsx b/apps/web/core/components/workspace/settings/invitations-list-item.tsx index ca6a1afa0..e07950f8a 100644 --- a/apps/web/core/components/workspace/settings/invitations-list-item.tsx +++ b/apps/web/core/components/workspace/settings/invitations-list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/settings/members-list-item.tsx b/apps/web/core/components/workspace/settings/members-list-item.tsx index 517bc962a..4d8910012 100644 --- a/apps/web/core/components/workspace/settings/members-list-item.tsx +++ b/apps/web/core/components/workspace/settings/members-list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { isEmpty } from "lodash-es"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/workspace/settings/workspace-details.tsx b/apps/web/core/components/workspace/settings/workspace-details.tsx index a42c49c9d..26840134c 100644 --- a/apps/web/core/components/workspace/settings/workspace-details.tsx +++ b/apps/web/core/components/workspace/settings/workspace-details.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; diff --git a/apps/web/core/components/workspace/sidebar/dropdown-item.tsx b/apps/web/core/components/workspace/sidebar/dropdown-item.tsx index ae86e0520..78fc71c63 100644 --- a/apps/web/core/components/workspace/sidebar/dropdown-item.tsx +++ b/apps/web/core/components/workspace/sidebar/dropdown-item.tsx @@ -1,4 +1,3 @@ -"use client"; import { observer } from "mobx-react"; import Link from "next/link"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/sidebar/dropdown.tsx b/apps/web/core/components/workspace/sidebar/dropdown.tsx index fa3aab3e6..acb351d4c 100644 --- a/apps/web/core/components/workspace/sidebar/dropdown.tsx +++ b/apps/web/core/components/workspace/sidebar/dropdown.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; // hooks import { useAppRail } from "@/hooks/use-app-rail"; diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-folder.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-folder.tsx index 2d33ea8a6..3285707e7 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-folder.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-folder.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import type { diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-drag-handle.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-drag-handle.tsx index db6800182..80bfca221 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-drag-handle.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-drag-handle.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; import { observer } from "mobx-react"; // ui diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-quick-action.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-quick-action.tsx index 9d8f49049..3b81cad92 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-quick-action.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-quick-action.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; import { observer } from "mobx-react"; import { MoreHorizontal, Star } from "lucide-react"; diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-title.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-title.tsx index 4dabba429..dbb8a6171 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-title.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-title.tsx @@ -1,4 +1,3 @@ -"use client"; import React from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-wrapper.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-wrapper.tsx index e9a822ba9..840af3d83 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-wrapper.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/favorite-item-wrapper.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; // helpers import { cn } from "@plane/utils"; diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/helper.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/helper.tsx index 17c86ea6e..f0a1b76e0 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/helper.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/common/helper.tsx @@ -1,5 +1,3 @@ -"use client"; - import { Logo } from "@plane/propel/emoji-icon-picker"; import { PageIcon } from "@plane/propel/icons"; // plane imports diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/root.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/root.tsx index f99628004..8d11d243b 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorite-items/root.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorite-items/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import type { diff --git a/apps/web/core/components/workspace/sidebar/favorites/favorites-menu.tsx b/apps/web/core/components/workspace/sidebar/favorites/favorites-menu.tsx index ad2ddc85e..3dca90546 100644 --- a/apps/web/core/components/workspace/sidebar/favorites/favorites-menu.tsx +++ b/apps/web/core/components/workspace/sidebar/favorites/favorites-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useCallback, useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import type { diff --git a/apps/web/core/components/workspace/sidebar/help-menu.tsx b/apps/web/core/components/workspace/sidebar/help-menu.tsx index c806387f7..dde2662d1 100644 --- a/apps/web/core/components/workspace/sidebar/help-menu.tsx +++ b/apps/web/core/components/workspace/sidebar/help-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { HelpCircle, MessagesSquare, User } from "lucide-react"; diff --git a/apps/web/core/components/workspace/sidebar/help-section.tsx b/apps/web/core/components/workspace/sidebar/help-section.tsx index 758efdc66..38c192379 100644 --- a/apps/web/core/components/workspace/sidebar/help-section.tsx +++ b/apps/web/core/components/workspace/sidebar/help-section.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { HelpCircle, MessagesSquare, MoveLeft, User } from "lucide-react"; diff --git a/apps/web/core/components/workspace/sidebar/help-section/root.tsx b/apps/web/core/components/workspace/sidebar/help-section/root.tsx index 2c953e49f..60cebd29a 100644 --- a/apps/web/core/components/workspace/sidebar/help-section/root.tsx +++ b/apps/web/core/components/workspace/sidebar/help-section/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { HelpCircle, MessagesSquare, User } from "lucide-react"; diff --git a/apps/web/core/components/workspace/sidebar/project-navigation.tsx b/apps/web/core/components/workspace/sidebar/project-navigation.tsx index 5e4fbd20f..49ae45974 100644 --- a/apps/web/core/components/workspace/sidebar/project-navigation.tsx +++ b/apps/web/core/components/workspace/sidebar/project-navigation.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useCallback, useMemo } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/workspace/sidebar/projects-list-item.tsx b/apps/web/core/components/workspace/sidebar/projects-list-item.tsx index 80a24cc7b..cde308d43 100644 --- a/apps/web/core/components/workspace/sidebar/projects-list-item.tsx +++ b/apps/web/core/components/workspace/sidebar/projects-list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef, useState } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { draggable, dropTargetForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter"; diff --git a/apps/web/core/components/workspace/sidebar/projects-list.tsx b/apps/web/core/components/workspace/sidebar/projects-list.tsx index 1280ac44f..f04005bfc 100644 --- a/apps/web/core/components/workspace/sidebar/projects-list.tsx +++ b/apps/web/core/components/workspace/sidebar/projects-list.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState, useRef, useEffect } from "react"; import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine"; import { autoScrollForElements } from "@atlaskit/pragmatic-drag-and-drop-auto-scroll/element"; diff --git a/apps/web/core/components/workspace/sidebar/sidebar-item.tsx b/apps/web/core/components/workspace/sidebar/sidebar-item.tsx index f873299e8..a884a9438 100644 --- a/apps/web/core/components/workspace/sidebar/sidebar-item.tsx +++ b/apps/web/core/components/workspace/sidebar/sidebar-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/workspace/sidebar/sidebar-menu-items.tsx b/apps/web/core/components/workspace/sidebar/sidebar-menu-items.tsx index 2afb11101..aced8e587 100644 --- a/apps/web/core/components/workspace/sidebar/sidebar-menu-items.tsx +++ b/apps/web/core/components/workspace/sidebar/sidebar-menu-items.tsx @@ -1,4 +1,3 @@ -"use client"; import React, { useMemo } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/sidebar/user-menu-root.tsx b/apps/web/core/components/workspace/sidebar/user-menu-root.tsx index c42f821ed..95b57599a 100644 --- a/apps/web/core/components/workspace/sidebar/user-menu-root.tsx +++ b/apps/web/core/components/workspace/sidebar/user-menu-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Ref } from "react"; import { Fragment, useState, useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/components/workspace/sidebar/user-menu.tsx b/apps/web/core/components/workspace/sidebar/user-menu.tsx index 9aa95d0c9..5439cf906 100644 --- a/apps/web/core/components/workspace/sidebar/user-menu.tsx +++ b/apps/web/core/components/workspace/sidebar/user-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/sidebar/workspace-menu-root.tsx b/apps/web/core/components/workspace/sidebar/workspace-menu-root.tsx index 8776f9698..f7a0847e1 100644 --- a/apps/web/core/components/workspace/sidebar/workspace-menu-root.tsx +++ b/apps/web/core/components/workspace/sidebar/workspace-menu-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { Fragment, useState, useEffect } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/components/workspace/sidebar/workspace-menu.tsx b/apps/web/core/components/workspace/sidebar/workspace-menu.tsx index fe41fddf9..569c74c4b 100644 --- a/apps/web/core/components/workspace/sidebar/workspace-menu.tsx +++ b/apps/web/core/components/workspace/sidebar/workspace-menu.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/views/default-view-quick-action.tsx b/apps/web/core/components/workspace/views/default-view-quick-action.tsx index 026d85ba9..daa396994 100644 --- a/apps/web/core/components/workspace/views/default-view-quick-action.tsx +++ b/apps/web/core/components/workspace/views/default-view-quick-action.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { ExternalLink, LinkIcon } from "lucide-react"; // plane imports diff --git a/apps/web/core/components/workspace/views/delete-view-modal.tsx b/apps/web/core/components/workspace/views/delete-view-modal.tsx index bfaf144ad..744807a0e 100644 --- a/apps/web/core/components/workspace/views/delete-view-modal.tsx +++ b/apps/web/core/components/workspace/views/delete-view-modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/views/form.tsx b/apps/web/core/components/workspace/views/form.tsx index 44665fa0a..87d307896 100644 --- a/apps/web/core/components/workspace/views/form.tsx +++ b/apps/web/core/components/workspace/views/form.tsx @@ -1,5 +1,3 @@ -"use client"; - import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; // plane imports diff --git a/apps/web/core/components/workspace/views/modal.tsx b/apps/web/core/components/workspace/views/modal.tsx index 92e7d647c..71483d712 100644 --- a/apps/web/core/components/workspace/views/modal.tsx +++ b/apps/web/core/components/workspace/views/modal.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; diff --git a/apps/web/core/components/workspace/views/quick-action.tsx b/apps/web/core/components/workspace/views/quick-action.tsx index 131fdda96..b5adac064 100644 --- a/apps/web/core/components/workspace/views/quick-action.tsx +++ b/apps/web/core/components/workspace/views/quick-action.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; // plane imports diff --git a/apps/web/core/components/workspace/views/view-list-item.tsx b/apps/web/core/components/workspace/views/view-list-item.tsx index da4f56585..eecfce8de 100644 --- a/apps/web/core/components/workspace/views/view-list-item.tsx +++ b/apps/web/core/components/workspace/views/view-list-item.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useState } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/hooks/context/app-rail-context.tsx b/apps/web/core/hooks/context/app-rail-context.tsx index ce7d90762..230cc4366 100644 --- a/apps/web/core/hooks/context/app-rail-context.tsx +++ b/apps/web/core/hooks/context/app-rail-context.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; import React, { createContext } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/hooks/use-group-dragndrop.ts b/apps/web/core/hooks/use-group-dragndrop.ts index e2dfe8563..f1929283b 100644 --- a/apps/web/core/hooks/use-group-dragndrop.ts +++ b/apps/web/core/hooks/use-group-dragndrop.ts @@ -1,5 +1,3 @@ -"use client"; - import { useParams } from "next/navigation"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; import type { EIssuesStoreType, TIssue, TIssueGroupByOptions, TIssueOrderByOptions } from "@plane/types"; diff --git a/apps/web/core/hooks/use-multiple-select.ts b/apps/web/core/hooks/use-multiple-select.ts index 60130bcb6..609bf335a 100644 --- a/apps/web/core/hooks/use-multiple-select.ts +++ b/apps/web/core/hooks/use-multiple-select.ts @@ -1,5 +1,3 @@ -"use client"; - import { useCallback, useEffect, useMemo } from "react"; // hooks import { useMultipleSelectStore } from "@/hooks/store/use-multiple-select-store"; diff --git a/apps/web/core/hooks/use-platform-os.tsx b/apps/web/core/hooks/use-platform-os.tsx index cef4e785c..771706d1d 100644 --- a/apps/web/core/hooks/use-platform-os.tsx +++ b/apps/web/core/hooks/use-platform-os.tsx @@ -1,5 +1,3 @@ -"use client"; - export const usePlatformOS = () => { const userAgent = window.navigator.userAgent; const isMobile = /iPhone|iPad|iPod|Android/i.test(userAgent); diff --git a/apps/web/core/hooks/use-workspace-paths.ts b/apps/web/core/hooks/use-workspace-paths.ts index fd0e74219..bbbbb56e9 100644 --- a/apps/web/core/hooks/use-workspace-paths.ts +++ b/apps/web/core/hooks/use-workspace-paths.ts @@ -1,5 +1,3 @@ -"use client"; - import { useParams, usePathname } from "next/navigation"; /** diff --git a/apps/web/core/layouts/auth-layout/project-wrapper.tsx b/apps/web/core/layouts/auth-layout/project-wrapper.tsx index 44524960e..2b1329b84 100644 --- a/apps/web/core/layouts/auth-layout/project-wrapper.tsx +++ b/apps/web/core/layouts/auth-layout/project-wrapper.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC, ReactNode } from "react"; import { useEffect } from "react"; import { observer } from "mobx-react"; diff --git a/apps/web/core/layouts/auth-layout/workspace-wrapper.tsx b/apps/web/core/layouts/auth-layout/workspace-wrapper.tsx index 0e2e3ee15..53618493c 100644 --- a/apps/web/core/layouts/auth-layout/workspace-wrapper.tsx +++ b/apps/web/core/layouts/auth-layout/workspace-wrapper.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; diff --git a/apps/web/core/lib/b-progress/AppProgressBar.tsx b/apps/web/core/lib/b-progress/AppProgressBar.tsx index 915b19ff9..7ad93fc11 100644 --- a/apps/web/core/lib/b-progress/AppProgressBar.tsx +++ b/apps/web/core/lib/b-progress/AppProgressBar.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect, useRef } from "react"; import { BProgress } from "@bprogress/core"; import { useNavigation } from "react-router"; diff --git a/apps/web/core/lib/intercom-provider.tsx b/apps/web/core/lib/intercom-provider.tsx index 0361fac66..c589e0bc2 100644 --- a/apps/web/core/lib/intercom-provider.tsx +++ b/apps/web/core/lib/intercom-provider.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useEffect } from "react"; import { Intercom, show, hide, onHide } from "@intercom/messenger-js-sdk"; import { observer } from "mobx-react"; diff --git a/apps/web/core/lib/posthog-provider.tsx b/apps/web/core/lib/posthog-provider.tsx index e6745c325..5a76fa0eb 100644 --- a/apps/web/core/lib/posthog-provider.tsx +++ b/apps/web/core/lib/posthog-provider.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; import { lazy, Suspense, useEffect, useState } from "react"; import { PostHogProvider as PHProvider } from "@posthog/react"; diff --git a/apps/web/core/lib/posthog-view.tsx b/apps/web/core/lib/posthog-view.tsx index 4192e8930..1c29ea567 100644 --- a/apps/web/core/lib/posthog-view.tsx +++ b/apps/web/core/lib/posthog-view.tsx @@ -1,5 +1,3 @@ -"use client"; - import { useEffect } from "react"; import { usePathname, useSearchParams } from "next/navigation"; // posthog diff --git a/apps/web/core/lib/store-context.tsx b/apps/web/core/lib/store-context.tsx index 893674be9..5402bb9fe 100644 --- a/apps/web/core/lib/store-context.tsx +++ b/apps/web/core/lib/store-context.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactElement } from "react"; import { createContext } from "react"; // plane web store diff --git a/apps/web/core/lib/wrappers/authentication-wrapper.tsx b/apps/web/core/lib/wrappers/authentication-wrapper.tsx index 6397ca7e4..5d8ae189b 100644 --- a/apps/web/core/lib/wrappers/authentication-wrapper.tsx +++ b/apps/web/core/lib/wrappers/authentication-wrapper.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; import { observer } from "mobx-react"; import { useSearchParams, usePathname } from "next/navigation"; diff --git a/packages/codemods/function-declaration.ts b/packages/codemods/function-declaration.ts index 496f15ca2..4e9e27ada 100644 --- a/packages/codemods/function-declaration.ts +++ b/packages/codemods/function-declaration.ts @@ -1,12 +1,12 @@ +import { CommentKind } from "ast-types/gen/kinds"; import { API, FileInfo, Options, - TSTypeReference, JSCodeshift, + TSTypeReference, Identifier, BlockStatement, - VariableDeclarator, Expression, Pattern, SpreadElement, @@ -14,6 +14,10 @@ import { ASTNode, Node, FunctionDeclaration, + TSType, + VariableDeclarator, + ArrowFunctionExpression, + FunctionExpression, } from "jscodeshift"; const COMPONENT_TYPE_NAMES = new Set([ @@ -58,7 +62,7 @@ function isComponentNameIdentifier(identifier: Identifier | null | undefined) { return COMPONENT_NAME_PATTERN.test(identifier.name); } -function addComments(target: Node, comments: NonNullable) { +function addComments(target: Node, comments: CommentKind[]) { if (!comments || comments.length === 0) { return; } @@ -76,7 +80,7 @@ function copyOuterComments(source: Node, target: Node, j: JSCodeshift) { function ensureParamType( param: Pattern, - propsType: ASTNode | null | undefined, + propsType: TSType | null | undefined, j: JSCodeshift ) { if (!j.Pattern.check(param)) { @@ -117,7 +121,7 @@ function toBlockBody(j: JSCodeshift, body: BlockStatement | Expression) { return j.blockStatement([returnStatement]); } -function isFunction(node: Node, j: JSCodeshift) { +function isFunction(node: Node, j: JSCodeshift): node is ArrowFunctionExpression | FunctionExpression { return ( j.ArrowFunctionExpression.check(node) || j.FunctionExpression.check(node) ); @@ -126,7 +130,7 @@ function isFunction(node: Node, j: JSCodeshift) { function extractArrowFunction( init: Expression | SpreadElement | JSXNamespacedName, j: JSCodeshift -) { +): ArrowFunctionExpression | FunctionExpression | undefined { if (isFunction(init, j)) { return init; } @@ -210,7 +214,7 @@ function extractForwardRefTypes( return; } - if (!("typeParameters" in init)) { + if (!j.CallExpression.check(init) || !("typeParameters" in init)) { return; } @@ -238,12 +242,12 @@ function extractForwardRefTypes( typeParams.length >= 2 && typeParams[1] ? typeParams[1] : j.tsTypeReference( - j.identifier("Record"), - j.tsTypeParameterInstantiation([ - j.tsStringKeyword(), - j.tsUnknownKeyword(), - ]) - ); + j.identifier("Record"), + j.tsTypeParameterInstantiation([ + j.tsStringKeyword(), + j.tsUnknownKeyword(), + ]) + ); // Create React.ForwardedRef for the ref parameter const refType = j.tsTypeReference( @@ -254,7 +258,7 @@ function extractForwardRefTypes( return { propsType, refType }; } -function isEmptyObjectType(type: ASTNode, j: JSCodeshift) { +function isEmptyObjectType(type: TSType, j: JSCodeshift) { return j.TSTypeLiteral.check(type) && type.members.length === 0; } @@ -262,7 +266,7 @@ function convertToFunction( j: JSCodeshift, declaration: VariableDeclarator, init: Expression | SpreadElement | JSXNamespacedName, - propsType: ASTNode | null | undefined + propsType: TSType | null | undefined ) { if (!j.Identifier.check(declaration.id)) { throw new Error("Declaration id must be an identifier"); @@ -405,11 +409,11 @@ export default function transform(file: FileInfo, api: API, options: Options) { } // Try to get props type from variable type annotation first - let propsType: ASTNode | undefined = - j.TSTypeReference.check(typeAnnotation) && - isReactComponentType(typeAnnotation, j) - ? typeAnnotation.typeParameters?.params?.[0] - : undefined; + let propsType: TSType | undefined = undefined; + + if (j.TSTypeReference.check(typeAnnotation) && isReactComponentType(typeAnnotation, j)) { + propsType = typeAnnotation.typeParameters?.params?.[0]; + } // If no props type from variable annotation, try to extract from wrapper's type parameters if (!propsType) { diff --git a/packages/codemods/package.json b/packages/codemods/package.json index 7cd24a9a7..9d9c83270 100644 --- a/packages/codemods/package.json +++ b/packages/codemods/package.json @@ -4,12 +4,14 @@ "private": true, "scripts": { "test": "vitest run", - "function-declaration": "jscodeshift -t ./function-declaration.ts --extensions=tsx --parser=tsx ../../apps/*/app ../../apps/*/ce ../../apps/*/core ../../apps/*/ee ../../apps/*/helpers ../../packages/*/src --ignore-pattern='**/node_modules/**' --ignore-pattern='**/dist/**' --ignore-pattern='**/build/**' --ignore-pattern='**/*.d.ts'" + "function-declaration": "jscodeshift -t ./function-declaration.ts --extensions=tsx --parser=tsx ../../apps/*/app ../../apps/*/ce ../../apps/*/core ../../apps/*/ee ../../apps/*/helpers ../../packages/*/src --ignore-pattern='**/node_modules/**' --ignore-pattern='**/dist/**' --ignore-pattern='**/build/**' --ignore-pattern='**/*.d.ts'", + "remove-directives": "jscodeshift -t ./remove-directives.ts --extensions=ts,tsx --parser=tsx ../../apps/*/app ../../apps/*/ce ../../apps/*/core ../../apps/*/ee ../../apps/*/helpers ../../apps/*/src ../../packages/*/src --ignore-pattern='**/node_modules/**' --ignore-pattern='**/dist/**' --ignore-pattern='**/build/**' --ignore-pattern='**/*.d.ts'" }, "devDependencies": { "@hypermod/utils": "^0.7.1", "@types/jscodeshift": "^17.3.0", + "ast-types": "0.14.2", "jscodeshift": "^17.3.0", "vitest": "^4.0.8" } -} \ No newline at end of file +} diff --git a/packages/codemods/remove-directives.ts b/packages/codemods/remove-directives.ts new file mode 100644 index 000000000..3e1e48ca8 --- /dev/null +++ b/packages/codemods/remove-directives.ts @@ -0,0 +1,97 @@ +import { API, FileInfo, Options } from "jscodeshift"; +import type { CommentKind, DirectiveKind } from "ast-types/gen/kinds"; + +export default function transform(file: FileInfo, api: API, options: Options) { + const j = api.jscodeshift; + const root = j(file.source); + + const directivesToRemove = new Set(["use client", "use server", "use-client", "use-server"]); + + root.find(j.Program).forEach((path) => { + // Handle ASTs where directives are stored in 'directives' property (Babel/TS) + if (path.node.directives) { + const newDirectives: DirectiveKind[] = []; + let capturedComments: CommentKind[] = []; + + path.node.directives.forEach((directive) => { + if (directive.type === 'Directive' && directive.value.type === 'DirectiveLiteral' && typeof directive.value.value === 'string' && directivesToRemove.has(directive.value.value)) { + // Directive is being removed. Capture its comments. + if (directive.comments) { + capturedComments.push(...directive.comments); + } + } else { + // Keep this directive + // If we have captured comments from previous removed directives, attach them here? + // Usually comments belong to the next node. + if (capturedComments.length > 0) { + directive.comments = directive.comments || []; + directive.comments.unshift(...capturedComments); + capturedComments = []; + } + newDirectives.push(directive); + } + }); + + path.node.directives = newDirectives; + + // If we still have captured comments (e.g. all directives removed, or last one removed), + // attach them to the first body node. + if (capturedComments.length > 0) { + if (path.node.body.length > 0) { + const firstBodyNode = path.node.body[0]; + if (firstBodyNode) { + firstBodyNode.comments = firstBodyNode.comments || []; + firstBodyNode.comments.unshift(...capturedComments); + } + } else { + // If empty body, attach to Program? + // jscodeshift might not print Program comments easily if they are not attached to children. + // But let's try attaching to the Program node itself if possible, or leave them (they might be lost). + path.node.comments = path.node.comments || []; + path.node.comments.push(...capturedComments); + } + } + } + + // Also handle the case where they might be in body as ExpressionStatements + if (path.node.body) { + const newBody: any[] = []; + let capturedComments: any[] = []; + + path.node.body.forEach((node) => { + let shouldRemove = false; + if (j.ExpressionStatement.check(node)) { + const expression = node.expression; + if (j.StringLiteral.check(expression) && directivesToRemove.has(expression.value)) { + shouldRemove = true; + } else if (j.Literal.check(expression) && typeof expression.value === 'string' && directivesToRemove.has(expression.value)) { + shouldRemove = true; + } + } + + if (shouldRemove) { + if (node.comments) { + capturedComments.push(...node.comments); + } + } else { + if (capturedComments.length > 0) { + node.comments = node.comments || []; + node.comments.unshift(...capturedComments); + capturedComments = []; + } + newBody.push(node); + } + }); + + // If comments left at the end (e.g. removed last statement), usually they are trailing comments of the file. + // But if we removed the ONLY statement, they become dangling. + // We attached to next node, so if we are at the end, there is no next node. + // If we removed a directive at the top, and there are more statements, they got attached. + + path.node.body = newBody; + } + }); + + return root.toSource(options); +} + diff --git a/packages/codemods/tests/remove-directives.spec.ts b/packages/codemods/tests/remove-directives.spec.ts new file mode 100644 index 000000000..8dfe6bd42 --- /dev/null +++ b/packages/codemods/tests/remove-directives.spec.ts @@ -0,0 +1,290 @@ +import { describe, it, expect } from "vitest"; +import { applyTransform } from "@hypermod/utils"; +import * as transformer from "../remove-directives"; + +describe("remove-directives", () => { + it("should remove 'use client' directive", async () => { + const result = await applyTransform( + transformer, + ` + "use client"; + import React from "react"; + + export const MyComponent = () => { + return
Hello, world!
; + }; + `, + { parser: "tsx" }, + ); + + expect(result).toMatchInlineSnapshot(` + "import React from "react"; + + export const MyComponent = () => { + return
Hello, world!
; + };" + `); + }); + + it("should remove 'use server' directive", async () => { + const result = await applyTransform( + transformer, + ` + "use server"; + import db from "./db"; + + export const getData = async () => { + return db.query("SELECT * FROM users"); + }; + `, + { parser: "ts" }, + ); + + expect(result).toMatchInlineSnapshot(` + "import db from "./db"; + + export const getData = async () => { + return db.query("SELECT * FROM users"); + };" + `); + }); + + it("should remove 'use client' directive with single quotes", async () => { + const result = await applyTransform( + transformer, + ` + 'use client'; + import React from "react"; + + export const MyComponent = () => { + return
Hello, world!
; + }; + `, + { parser: "tsx" }, + ); + + expect(result).toMatchInlineSnapshot(` + "import React from "react"; + + export const MyComponent = () => { + return
Hello, world!
; + };" + `); + }); + + it("should remove multiple directives", async () => { + const result = await applyTransform( + transformer, + ` + "use client"; + "use strict"; + import React from "react"; + + export const MyComponent = () => { + return
Hello, world!
; + }; + `, + { parser: "tsx" }, + ); + + expect(result).toMatchInlineSnapshot(` + ""use strict";; + import React from "react"; + + export const MyComponent = () => { + return
Hello, world!
; + };" + `); + }); + + it("should ignore directives inside functions", async () => { + const result = await applyTransform( + transformer, + ` + import React from "react"; + + export const MyComponent = () => { + "use client"; + return
Hello, world!
; + }; + `, + { parser: "tsx" }, + ); + + expect(result).toMatchInlineSnapshot(` + "import React from "react"; + + export const MyComponent = () => { + "use client"; + return
Hello, world!
; + };" + `); + }); + + it("should preserve comments", async () => { + const result = await applyTransform( + transformer, + ` + // comment before + "use client"; + // comment after + import React from "react"; + `, + { parser: "tsx" } + ); + + expect(result).toMatchInlineSnapshot(` + "// comment before + // comment after + import React from "react";" + `); + }); + + it("should remove 'use-client' directive with hyphen", async () => { + const result = await applyTransform( + transformer, + ` + "use-client"; + import type { FC } from "react"; + // types + import type { TDeDupeIssue } from "@plane/types"; + + type TDuplicateModalRootProps = { + workspaceSlug: string; + issues: TDeDupeIssue[]; + handleDuplicateIssueModal: (value: boolean) => void; + }; + + export function DuplicateModalRoot(props: TDuplicateModalRootProps) { + const { workspaceSlug, issues, handleDuplicateIssueModal } = props; + return <>; + } + `, + { parser: "tsx" }, + ); + + expect(result).toMatchInlineSnapshot(` + "import type { FC } from "react"; + // types + import type { TDeDupeIssue } from "@plane/types"; + + type TDuplicateModalRootProps = { + workspaceSlug: string; + issues: TDeDupeIssue[]; + handleDuplicateIssueModal: (value: boolean) => void; + }; + + export function DuplicateModalRoot(props: TDuplicateModalRootProps) { + const { workspaceSlug, issues, handleDuplicateIssueModal } = props; + return <>; + }" + `); + }); + + it("should remove 'use-client' directive with hyphen and single quotes", async () => { + const result = await applyTransform( + transformer, + ` + 'use-client'; + import type { FC } from "react"; + import { useState } from "react"; + // plane imports + import { EModalPosition, EModalWidth, ModalCore } from "@plane/ui"; + + export function MyComponent() { + return
Hello
; + } + `, + { parser: "tsx" }, + ); + + expect(result).toMatchInlineSnapshot(` + "import type { FC } from "react"; + import { useState } from "react"; + // plane imports + import { EModalPosition, EModalWidth, ModalCore } from "@plane/ui"; + + export function MyComponent() { + return
Hello
; + }" + `); + }); + + it("should remove 'use-server' directive with hyphen", async () => { + const result = await applyTransform( + transformer, + ` + "use-server"; + import db from "./db"; + + export const getData = async () => { + return db.query("SELECT * FROM users"); + }; + `, + { parser: "ts" }, + ); + + expect(result).toMatchInlineSnapshot(` + "import db from "./db"; + + export const getData = async () => { + return db.query("SELECT * FROM users"); + };" + `); + }); + + it("should handle 'use-client' in modal component structure", async () => { + const result = await applyTransform( + transformer, + ` + "use-client"; + + import type { FC } from "react"; + import { useState } from "react"; + // plane imports + import { EModalPosition, EModalWidth, ModalCore } from "@plane/ui"; + // hooks + import useKeypress from "@/hooks/use-keypress"; + // local imports + import { InboxIssueCreateRoot } from "./create-root"; + + type TInboxIssueCreateModalRoot = { + workspaceSlug: string; + projectId: string; + modalState: boolean; + handleModalClose: () => void; + }; + + export function InboxIssueCreateModalRoot(props: TInboxIssueCreateModalRoot) { + const { workspaceSlug, projectId, modalState, handleModalClose } = props; + return <>; + } + `, + { parser: "tsx" }, + ); + + expect(result).toMatchInlineSnapshot(` + "import type { FC } from "react"; + import { useState } from "react"; + // plane imports + import { EModalPosition, EModalWidth, ModalCore } from "@plane/ui"; + // hooks + import useKeypress from "@/hooks/use-keypress"; + // local imports + import { InboxIssueCreateRoot } from "./create-root"; + + type TInboxIssueCreateModalRoot = { + workspaceSlug: string; + projectId: string; + modalState: boolean; + handleModalClose: () => void; + }; + + export function InboxIssueCreateModalRoot(props: TInboxIssueCreateModalRoot) { + const { workspaceSlug, projectId, modalState, handleModalClose } = props; + return <>; + }" + `); + }); +}); + diff --git a/packages/constants/.eslintrc.js b/packages/constants/.eslintrc.cjs similarity index 100% rename from packages/constants/.eslintrc.js rename to packages/constants/.eslintrc.cjs diff --git a/packages/constants/package.json b/packages/constants/package.json index dde4c0135..90602e552 100644 --- a/packages/constants/package.json +++ b/packages/constants/package.json @@ -3,6 +3,7 @@ "version": "1.1.0", "private": true, "license": "AGPL-3.0", + "type": "module", "scripts": { "dev": "tsdown --watch", "build": "tsdown", @@ -25,14 +26,11 @@ "tsdown": "catalog:", "typescript": "catalog:" }, - "main": "./dist/index.js", + "main": "./dist/index.mjs", "module": "./dist/index.mjs", - "types": "./dist/index.d.ts", + "types": "./dist/index.d.mts", "exports": { - ".": { - "import": "./dist/index.mjs", - "require": "./dist/index.js" - }, + ".": "./dist/index.mjs", "./package.json": "./package.json" } } diff --git a/packages/constants/tsconfig.json b/packages/constants/tsconfig.json index 076ae8775..3cb67805a 100644 --- a/packages/constants/tsconfig.json +++ b/packages/constants/tsconfig.json @@ -1,12 +1,5 @@ { - "extends": "@plane/typescript-config/base.json", - "compilerOptions": { - "outDir": "dist", - "rootDir": "src", - "sourceMap": true, - "strictNullChecks": true, - "allowSyntheticDefaultImports": true - }, + "extends": "@plane/typescript-config/node-library.json", "include": ["src/**/*.ts"], "exclude": ["node_modules", "dist"] } diff --git a/packages/constants/tsdown.config.ts b/packages/constants/tsdown.config.ts index 9ca1c1af8..5f7ccadb7 100644 --- a/packages/constants/tsdown.config.ts +++ b/packages/constants/tsdown.config.ts @@ -2,10 +2,7 @@ import { defineConfig } from "tsdown"; export default defineConfig({ entry: ["src/index.ts"], - outDir: "dist", - format: ["esm", "cjs"], - exports: true, + format: ["esm"], dts: true, - clean: true, - sourcemap: false, + exports: true, }); diff --git a/packages/decorators/.eslintrc.js b/packages/decorators/.eslintrc.cjs similarity index 100% rename from packages/decorators/.eslintrc.js rename to packages/decorators/.eslintrc.cjs diff --git a/packages/decorators/package.json b/packages/decorators/package.json index f42b3e170..3f7a60eaa 100644 --- a/packages/decorators/package.json +++ b/packages/decorators/package.json @@ -4,11 +4,9 @@ "description": "Controller and route decorators for Express.js applications", "license": "AGPL-3.0", "private": true, + "type": "module", "exports": { - ".": { - "import": "./dist/index.mjs", - "require": "./dist/index.js" - }, + ".": "./dist/index.mjs", "./package.json": "./package.json" }, "scripts": { @@ -32,7 +30,7 @@ "tsdown": "catalog:", "typescript": "catalog:" }, - "main": "./dist/index.js", + "main": "./dist/index.mjs", "module": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.mts" } diff --git a/packages/decorators/tsdown.config.ts b/packages/decorators/tsdown.config.ts index 9ca1c1af8..5f7ccadb7 100644 --- a/packages/decorators/tsdown.config.ts +++ b/packages/decorators/tsdown.config.ts @@ -2,10 +2,7 @@ import { defineConfig } from "tsdown"; export default defineConfig({ entry: ["src/index.ts"], - outDir: "dist", - format: ["esm", "cjs"], - exports: true, + format: ["esm"], dts: true, - clean: true, - sourcemap: false, + exports: true, }); diff --git a/packages/editor/package.json b/packages/editor/package.json index 0b8a78348..741962095 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -5,18 +5,12 @@ "license": "AGPL-3.0", "private": true, "type": "module", - "main": "./dist/index.cjs", + "main": "./dist/index.js", "module": "./dist/index.js", - "types": "./dist/index.d.cts", + "types": "./dist/index.d.ts", "exports": { - ".": { - "import": "./dist/index.js", - "require": "./dist/index.cjs" - }, - "./lib": { - "import": "./dist/lib.js", - "require": "./dist/lib.cjs" - }, + ".": "./dist/index.js", + "./lib": "./dist/lib.js", "./package.json": "./package.json", "./styles.css": "./dist/styles/index.css", "./styles": "./dist/styles/index.css" diff --git a/packages/editor/src/core/components/menus/menu-items.ts b/packages/editor/src/core/components/menus/menu-items.ts index 075b87147..6fc6cfe30 100644 --- a/packages/editor/src/core/components/menus/menu-items.ts +++ b/packages/editor/src/core/components/menus/menu-items.ts @@ -206,11 +206,13 @@ export const LinkItem = (editor: Editor): EditorMenuItem<"link"> => key: "link", name: "Link", isActive: () => editor?.isActive("link"), + command: (props) => { if (!props) return; if (props.url) setLinkEditor(editor, props.url, props.text); else unsetLinkEditor(editor); }, + icon: LinkIcon, }) as const; diff --git a/packages/editor/src/core/extensions/code/code-block-node-view.tsx b/packages/editor/src/core/extensions/code/code-block-node-view.tsx index 76f42cee4..efe50b69d 100644 --- a/packages/editor/src/core/extensions/code/code-block-node-view.tsx +++ b/packages/editor/src/core/extensions/code/code-block-node-view.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; import { NodeViewWrapper, NodeViewContent } from "@tiptap/react"; import ts from "highlight.js/lib/languages/typescript"; diff --git a/packages/editor/src/core/extensions/code/code-block.ts b/packages/editor/src/core/extensions/code/code-block.ts index e3ae01033..8b83c78d7 100644 --- a/packages/editor/src/core/extensions/code/code-block.ts +++ b/packages/editor/src/core/extensions/code/code-block.ts @@ -70,7 +70,6 @@ export const CodeBlock = Node.create({ default: null, parseHTML: (element) => { const { languageClassPrefix } = this.options; - // @ts-expect-error element is a DOM element const classNames = [...(element.firstElementChild?.classList || [])]; const languages = classNames .filter((className) => className.startsWith(languageClassPrefix)) diff --git a/packages/editor/src/core/extensions/mentions/mentions-list-dropdown.tsx b/packages/editor/src/core/extensions/mentions/mentions-list-dropdown.tsx index 67989425e..191cd5139 100644 --- a/packages/editor/src/core/extensions/mentions/mentions-list-dropdown.tsx +++ b/packages/editor/src/core/extensions/mentions/mentions-list-dropdown.tsx @@ -1,5 +1,3 @@ -"use client"; - import { FloatingOverlay } from "@floating-ui/react"; import type { SuggestionProps } from "@tiptap/suggestion"; import { forwardRef, useCallback, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from "react"; diff --git a/packages/editor/src/core/types/config.ts b/packages/editor/src/core/types/config.ts index 0419ea552..0c5c434f0 100644 --- a/packages/editor/src/core/types/config.ts +++ b/packages/editor/src/core/types/config.ts @@ -1,5 +1,5 @@ // plane imports -import { TWebhookConnectionQueryParams } from "@plane/types"; +import type { TWebhookConnectionQueryParams } from "@plane/types"; import type { TExtendedFileHandler } from "@/plane-editor/types/config"; export type TFileHandler = { diff --git a/packages/editor/tsconfig.json b/packages/editor/tsconfig.json index b5634236f..c7f5c7e40 100644 --- a/packages/editor/tsconfig.json +++ b/packages/editor/tsconfig.json @@ -1,22 +1,12 @@ { "extends": "@plane/typescript-config/react-library.json", "compilerOptions": { - "jsx": "react-jsx", - "lib": ["ES2022", "DOM"], - "module": "ES2022", - "moduleResolution": "Bundler", - "noEmit": true, - "strict": true, - "skipLibCheck": true, - "sourceMap": true, "baseUrl": ".", "paths": { "@/*": ["./src/core/*"], "@/styles/*": ["./src/styles/*"], "@/plane-editor/*": ["./src/ce/*"] - }, - "strictNullChecks": true, - "allowSyntheticDefaultImports": true + } }, "include": ["src/**/*", "index.d.ts"], "exclude": ["dist", "build", "node_modules"] diff --git a/packages/editor/tsdown.config.ts b/packages/editor/tsdown.config.ts index 8118f1b08..ea7c2ef9b 100644 --- a/packages/editor/tsdown.config.ts +++ b/packages/editor/tsdown.config.ts @@ -2,8 +2,8 @@ import { defineConfig } from "tsdown"; export default defineConfig({ entry: ["src/index.ts", "src/lib.ts"], - outDir: "dist", - format: ["esm", "cjs"], + format: ["esm"], + dts: true, copy: ["src/styles"], exports: { customExports: (exports) => ({ @@ -12,6 +12,5 @@ export default defineConfig({ "./styles": "./dist/styles/index.css", }), }, - dts: true, - clean: true, + platform: "neutral", }); diff --git a/packages/hooks/package.json b/packages/hooks/package.json index fea9939b7..8889dcc93 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -7,8 +7,8 @@ "type": "module", "exports": { ".": { - "import": "./dist/index.js", - "require": "./dist/index.cjs" + "types": "./dist/index.d.ts", + "import": "./dist/index.js" }, "./package.json": "./package.json" }, @@ -34,7 +34,7 @@ "tsdown": "catalog:", "typescript": "catalog:" }, - "main": "./dist/index.cjs", + "main": "./dist/index.js", "module": "./dist/index.js", - "types": "./dist/index.d.cts" + "types": "./dist/index.d.ts" } diff --git a/packages/hooks/tsconfig.json b/packages/hooks/tsconfig.json index e8af9092a..2256a0d8f 100644 --- a/packages/hooks/tsconfig.json +++ b/packages/hooks/tsconfig.json @@ -1,9 +1,5 @@ { "extends": "@plane/typescript-config/react-library.json", - "compilerOptions": { - "jsx": "react", - "lib": ["esnext", "dom"] - }, "include": ["./src"], "exclude": ["dist", "build", "node_modules"] } diff --git a/packages/hooks/tsdown.config.ts b/packages/hooks/tsdown.config.ts index 7b2ea6fe2..78c3dcba8 100644 --- a/packages/hooks/tsdown.config.ts +++ b/packages/hooks/tsdown.config.ts @@ -2,10 +2,7 @@ import { defineConfig } from "tsdown"; export default defineConfig({ entry: ["src/index.ts"], - outDir: "dist", - format: ["esm", "cjs"], - exports: true, + format: ["esm"], dts: true, - clean: true, - sourcemap: true, + platform: "neutral", }); diff --git a/packages/i18n/.eslintrc.js b/packages/i18n/.eslintrc.cjs similarity index 100% rename from packages/i18n/.eslintrc.js rename to packages/i18n/.eslintrc.cjs diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 0004d6794..3a1195db4 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -4,10 +4,11 @@ "license": "AGPL-3.0", "description": "I18n shared across multiple apps internally", "private": true, + "type": "module", "exports": { ".": { - "import": "./dist/index.mjs", - "require": "./dist/index.js" + "types": "./dist/index.d.ts", + "import": "./dist/index.js" }, "./package.json": "./package.json" }, @@ -40,6 +41,6 @@ "typescript": "catalog:" }, "main": "./dist/index.js", - "module": "./dist/index.mjs", + "module": "./dist/index.js", "types": "./dist/index.d.ts" } diff --git a/packages/i18n/tsconfig.json b/packages/i18n/tsconfig.json index 6599e6e82..2256a0d8f 100644 --- a/packages/i18n/tsconfig.json +++ b/packages/i18n/tsconfig.json @@ -1,10 +1,5 @@ { "extends": "@plane/typescript-config/react-library.json", - "compilerOptions": { - "jsx": "react", - "lib": ["esnext", "dom"], - "resolveJsonModule": true - }, "include": ["./src"], "exclude": ["dist", "build", "node_modules"] } diff --git a/packages/i18n/tsdown.config.ts b/packages/i18n/tsdown.config.ts index 7b2ea6fe2..78c3dcba8 100644 --- a/packages/i18n/tsdown.config.ts +++ b/packages/i18n/tsdown.config.ts @@ -2,10 +2,7 @@ import { defineConfig } from "tsdown"; export default defineConfig({ entry: ["src/index.ts"], - outDir: "dist", - format: ["esm", "cjs"], - exports: true, + format: ["esm"], dts: true, - clean: true, - sourcemap: true, + platform: "neutral", }); diff --git a/packages/logger/.eslintrc.js b/packages/logger/.eslintrc.cjs similarity index 100% rename from packages/logger/.eslintrc.js rename to packages/logger/.eslintrc.cjs diff --git a/packages/logger/package.json b/packages/logger/package.json index 53edd717d..eca1cdd7f 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -4,11 +4,9 @@ "license": "AGPL-3.0", "description": "Logger shared across multiple apps internally", "private": true, + "type": "module", "exports": { - ".": { - "import": "./dist/index.mjs", - "require": "./dist/index.js" - }, + ".": "./dist/index.mjs", "./package.json": "./package.json" }, "scripts": { @@ -34,7 +32,7 @@ "tsdown": "catalog:", "typescript": "catalog:" }, - "main": "./dist/index.js", + "main": "./dist/index.mjs", "module": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.mts" } diff --git a/packages/logger/tsconfig.json b/packages/logger/tsconfig.json index 2ba1c9799..348ee56fb 100644 --- a/packages/logger/tsconfig.json +++ b/packages/logger/tsconfig.json @@ -1,19 +1,11 @@ { - "extends": "@plane/typescript-config/base.json", + "extends": "@plane/typescript-config/node-library.json", "compilerOptions": { - "module": "ESNext", - "target": "ESNext", - "moduleResolution": "node", - "esModuleInterop": true, - "outDir": "./dist", - "rootDir": "./src", "baseUrl": ".", "paths": { "@/*": ["./src/*"] - }, - "experimentalDecorators": true, - "sourceMap": true + } }, "include": ["src/**/*"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "dist"] } diff --git a/packages/logger/tsdown.config.ts b/packages/logger/tsdown.config.ts index 7b2ea6fe2..5f7ccadb7 100644 --- a/packages/logger/tsdown.config.ts +++ b/packages/logger/tsdown.config.ts @@ -2,10 +2,7 @@ import { defineConfig } from "tsdown"; export default defineConfig({ entry: ["src/index.ts"], - outDir: "dist", - format: ["esm", "cjs"], - exports: true, + format: ["esm"], dts: true, - clean: true, - sourcemap: true, + exports: true, }); diff --git a/packages/propel/.eslintrc.js b/packages/propel/.eslintrc.cjs similarity index 100% rename from packages/propel/.eslintrc.js rename to packages/propel/.eslintrc.cjs diff --git a/packages/propel/package.json b/packages/propel/package.json index 4d5d9472b..f4d9990ee 100644 --- a/packages/propel/package.json +++ b/packages/propel/package.json @@ -3,6 +3,7 @@ "version": "1.1.0", "private": true, "license": "AGPL-3.0", + "type": "module", "scripts": { "dev": "tsdown --watch", "build": "tsdown", @@ -16,154 +17,43 @@ "build-storybook": "storybook build" }, "exports": { - "./accordion": { - "import": "./dist/accordion/index.mjs", - "require": "./dist/accordion/index.js" - }, - "./animated-counter": { - "import": "./dist/animated-counter/index.mjs", - "require": "./dist/animated-counter/index.js" - }, - "./avatar": { - "import": "./dist/avatar/index.mjs", - "require": "./dist/avatar/index.js" - }, - "./banner": { - "import": "./dist/banner/index.mjs", - "require": "./dist/banner/index.js" - }, - "./button": { - "import": "./dist/button/index.mjs", - "require": "./dist/button/index.js" - }, - "./calendar": { - "import": "./dist/calendar/index.mjs", - "require": "./dist/calendar/index.js" - }, - "./card": { - "import": "./dist/card/index.mjs", - "require": "./dist/card/index.js" - }, - "./charts/area-chart": { - "import": "./dist/charts/area-chart/index.mjs", - "require": "./dist/charts/area-chart/index.js" - }, - "./charts/bar-chart": { - "import": "./dist/charts/bar-chart/index.mjs", - "require": "./dist/charts/bar-chart/index.js" - }, - "./charts/line-chart": { - "import": "./dist/charts/line-chart/index.mjs", - "require": "./dist/charts/line-chart/index.js" - }, - "./charts/pie-chart": { - "import": "./dist/charts/pie-chart/index.mjs", - "require": "./dist/charts/pie-chart/index.js" - }, - "./charts/radar-chart": { - "import": "./dist/charts/radar-chart/index.mjs", - "require": "./dist/charts/radar-chart/index.js" - }, - "./charts/scatter-chart": { - "import": "./dist/charts/scatter-chart/index.mjs", - "require": "./dist/charts/scatter-chart/index.js" - }, - "./charts/tree-map": { - "import": "./dist/charts/tree-map/index.mjs", - "require": "./dist/charts/tree-map/index.js" - }, - "./collapsible": { - "import": "./dist/collapsible/index.mjs", - "require": "./dist/collapsible/index.js" - }, - "./combobox": { - "import": "./dist/combobox/index.mjs", - "require": "./dist/combobox/index.js" - }, - "./command": { - "import": "./dist/command/index.mjs", - "require": "./dist/command/index.js" - }, - "./context-menu": { - "import": "./dist/context-menu/index.mjs", - "require": "./dist/context-menu/index.js" - }, - "./dialog": { - "import": "./dist/dialog/index.mjs", - "require": "./dist/dialog/index.js" - }, - "./emoji-icon-picker": { - "import": "./dist/emoji-icon-picker/index.mjs", - "require": "./dist/emoji-icon-picker/index.js" - }, - "./emoji-reaction": { - "import": "./dist/emoji-reaction/index.mjs", - "require": "./dist/emoji-reaction/index.js" - }, - "./empty-state": { - "import": "./dist/empty-state/index.mjs", - "require": "./dist/empty-state/index.js" - }, - "./icons": { - "import": "./dist/icons/index.mjs", - "require": "./dist/icons/index.js" - }, - "./input": { - "import": "./dist/input/index.mjs", - "require": "./dist/input/index.js" - }, - "./menu": { - "import": "./dist/menu/index.mjs", - "require": "./dist/menu/index.js" - }, - "./pill": { - "import": "./dist/pill/index.mjs", - "require": "./dist/pill/index.js" - }, - "./popover": { - "import": "./dist/popover/index.mjs", - "require": "./dist/popover/index.js" - }, - "./portal": { - "import": "./dist/portal/index.mjs", - "require": "./dist/portal/index.js" - }, - "./scrollarea": { - "import": "./dist/scrollarea/index.mjs", - "require": "./dist/scrollarea/index.js" - }, - "./skeleton": { - "import": "./dist/skeleton/index.mjs", - "require": "./dist/skeleton/index.js" - }, - "./switch": { - "import": "./dist/switch/index.mjs", - "require": "./dist/switch/index.js" - }, - "./table": { - "import": "./dist/table/index.mjs", - "require": "./dist/table/index.js" - }, - "./tabs": { - "import": "./dist/tabs/index.mjs", - "require": "./dist/tabs/index.js" - }, - "./toast": { - "import": "./dist/toast/index.mjs", - "require": "./dist/toast/index.js" - }, - "./toolbar": { - "import": "./dist/toolbar/index.mjs", - "require": "./dist/toolbar/index.js" - }, - "./tooltip": { - "import": "./dist/tooltip/index.mjs", - "require": "./dist/tooltip/index.js" - }, - "./utils": { - "import": "./dist/utils/index.mjs", - "require": "./dist/utils/index.js" - }, + "./accordion": "./dist/accordion/index.js", + "./animated-counter": "./dist/animated-counter/index.js", + "./avatar": "./dist/avatar/index.js", + "./banner": "./dist/banner/index.js", + "./button": "./dist/button/index.js", + "./calendar": "./dist/calendar/index.js", + "./card": "./dist/card/index.js", + "./charts/area-chart": "./dist/charts/area-chart/index.js", + "./charts/bar-chart": "./dist/charts/bar-chart/index.js", + "./charts/line-chart": "./dist/charts/line-chart/index.js", + "./charts/pie-chart": "./dist/charts/pie-chart/index.js", + "./charts/radar-chart": "./dist/charts/radar-chart/index.js", + "./charts/scatter-chart": "./dist/charts/scatter-chart/index.js", + "./charts/tree-map": "./dist/charts/tree-map/index.js", + "./collapsible": "./dist/collapsible/index.js", + "./combobox": "./dist/combobox/index.js", + "./command": "./dist/command/index.js", + "./context-menu": "./dist/context-menu/index.js", + "./dialog": "./dist/dialog/index.js", + "./emoji-icon-picker": "./dist/emoji-icon-picker/index.js", + "./emoji-reaction": "./dist/emoji-reaction/index.js", + "./empty-state": "./dist/empty-state/index.js", + "./icons": "./dist/icons/index.js", + "./input": "./dist/input/index.js", + "./menu": "./dist/menu/index.js", + "./pill": "./dist/pill/index.js", + "./popover": "./dist/popover/index.js", + "./portal": "./dist/portal/index.js", + "./scrollarea": "./dist/scrollarea/index.js", + "./skeleton": "./dist/skeleton/index.js", + "./switch": "./dist/switch/index.js", + "./table": "./dist/table/index.js", + "./tabs": "./dist/tabs/index.js", + "./toast": "./dist/toast/index.js", + "./toolbar": "./dist/toolbar/index.js", + "./tooltip": "./dist/tooltip/index.js", + "./utils": "./dist/utils/index.js", "./package.json": "./package.json", "./styles/fonts.css": "./dist/styles/fonts/index.css", "./styles/fonts": "./dist/styles/fonts/index.css", diff --git a/packages/propel/src/calendar/root.tsx b/packages/propel/src/calendar/root.tsx index ddadf8c9e..480efd97b 100644 --- a/packages/propel/src/calendar/root.tsx +++ b/packages/propel/src/calendar/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import * as React from "react"; import { DayPicker } from "react-day-picker"; import { ChevronLeftIcon } from "../icons"; diff --git a/packages/propel/src/charts/area-chart/root.tsx b/packages/propel/src/charts/area-chart/root.tsx index f171993ec..02261b53b 100644 --- a/packages/propel/src/charts/area-chart/root.tsx +++ b/packages/propel/src/charts/area-chart/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useMemo, useState } from "react"; import { Area, Legend, ResponsiveContainer, Tooltip, XAxis, YAxis, Line, ComposedChart, CartesianGrid } from "recharts"; // plane imports diff --git a/packages/propel/src/charts/bar-chart/root.tsx b/packages/propel/src/charts/bar-chart/root.tsx index 616f04cb1..158c08eea 100644 --- a/packages/propel/src/charts/bar-chart/root.tsx +++ b/packages/propel/src/charts/bar-chart/root.tsx @@ -1,6 +1,4 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ -"use client"; - import React, { useCallback, useMemo, useState } from "react"; import { BarChart as CoreBarChart, diff --git a/packages/propel/src/charts/line-chart/root.tsx b/packages/propel/src/charts/line-chart/root.tsx index fcc332df5..4a55fd49c 100644 --- a/packages/propel/src/charts/line-chart/root.tsx +++ b/packages/propel/src/charts/line-chart/root.tsx @@ -1,6 +1,4 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ -"use client"; - import React, { useMemo, useState } from "react"; import { CartesianGrid, diff --git a/packages/propel/src/charts/pie-chart/root.tsx b/packages/propel/src/charts/pie-chart/root.tsx index 50141cc94..19609b2e0 100644 --- a/packages/propel/src/charts/pie-chart/root.tsx +++ b/packages/propel/src/charts/pie-chart/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React, { useMemo, useState } from "react"; import { Cell, PieChart as CorePieChart, Label, Legend, Pie, ResponsiveContainer, Tooltip } from "recharts"; // plane imports diff --git a/packages/propel/src/charts/scatter-chart/root.tsx b/packages/propel/src/charts/scatter-chart/root.tsx index 2aafc4ac0..d737bd7e0 100644 --- a/packages/propel/src/charts/scatter-chart/root.tsx +++ b/packages/propel/src/charts/scatter-chart/root.tsx @@ -1,6 +1,4 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ -"use client"; - import React, { useMemo, useState } from "react"; import { CartesianGrid, diff --git a/packages/propel/src/dialog/root.tsx b/packages/propel/src/dialog/root.tsx index 85f84eb21..018a3418a 100644 --- a/packages/propel/src/dialog/root.tsx +++ b/packages/propel/src/dialog/root.tsx @@ -1,5 +1,3 @@ -"use client"; - import { forwardRef, memo, useMemo } from "react"; import { Dialog as BaseDialog } from "@base-ui-components/react"; import { cn } from "../utils/classname"; diff --git a/packages/propel/src/emoji-icon-picker/icon/material-root.tsx b/packages/propel/src/emoji-icon-picker/icon/material-root.tsx index 1b989f27f..199728e59 100644 --- a/packages/propel/src/emoji-icon-picker/icon/material-root.tsx +++ b/packages/propel/src/emoji-icon-picker/icon/material-root.tsx @@ -1,5 +1,3 @@ -"use client"; - import React from "react"; import useFontFaceObserver from "use-font-face-observer"; import { MATERIAL_ICONS_LIST } from "../material-icons"; diff --git a/packages/propel/src/emoji-icon-picker/logo.tsx b/packages/propel/src/emoji-icon-picker/logo.tsx index 508385331..6310ac17d 100644 --- a/packages/propel/src/emoji-icon-picker/logo.tsx +++ b/packages/propel/src/emoji-icon-picker/logo.tsx @@ -1,5 +1,3 @@ -"use client"; - import type { FC } from "react"; // Due to some weird issue with the import order, the import of useFontFaceObserver // should be after the imported here rather than some below helper functions as it is in the original file diff --git a/packages/propel/tsconfig.json b/packages/propel/tsconfig.json index 873c92af0..662df9093 100644 --- a/packages/propel/tsconfig.json +++ b/packages/propel/tsconfig.json @@ -1,9 +1,5 @@ { "extends": "@plane/typescript-config/react-library.json", - "compilerOptions": { - "jsx": "react-jsx", - "lib": ["esnext", "dom"] - }, "include": ["src"], "exclude": ["node_modules", "dist"] } diff --git a/packages/propel/tsdown.config.ts b/packages/propel/tsdown.config.ts index 02bf9e10d..e3fb93808 100644 --- a/packages/propel/tsdown.config.ts +++ b/packages/propel/tsdown.config.ts @@ -35,8 +35,9 @@ export default defineConfig({ "src/tooltip/index.ts", "src/utils/index.ts", ], - outDir: "dist", - format: ["esm", "cjs"], + format: ["esm"], + dts: true, + copy: ["src/styles"], exports: { customExports: (exports) => ({ ...exports, @@ -46,8 +47,5 @@ export default defineConfig({ "./styles/react-day-picker": "./dist/styles/react-day-picker.css", }), }, - copy: ["src/styles"], - dts: true, - clean: true, - sourcemap: false, + platform: "neutral", }); diff --git a/packages/services/package.json b/packages/services/package.json index 4048c1403..55f017dd5 100644 --- a/packages/services/package.json +++ b/packages/services/package.json @@ -6,8 +6,8 @@ "type": "module", "exports": { ".": { - "import": "./dist/index.js", - "require": "./dist/index.cjs" + "types": "./dist/index-BliaS-AT.d.ts", + "import": "./dist/index.js" }, "./package.json": "./package.json" }, @@ -34,7 +34,7 @@ "tsdown": "catalog:", "typescript": "catalog:" }, - "main": "./dist/index.cjs", + "main": "./dist/index.js", "module": "./dist/index.js", - "types": "./dist/index.d.cts" + "types": "./dist/index.d.ts" } diff --git a/packages/services/tsconfig.json b/packages/services/tsconfig.json index e8af9092a..2256a0d8f 100644 --- a/packages/services/tsconfig.json +++ b/packages/services/tsconfig.json @@ -1,9 +1,5 @@ { "extends": "@plane/typescript-config/react-library.json", - "compilerOptions": { - "jsx": "react", - "lib": ["esnext", "dom"] - }, "include": ["./src"], "exclude": ["dist", "build", "node_modules"] } diff --git a/packages/services/tsdown.config.ts b/packages/services/tsdown.config.ts index 7b2ea6fe2..78c3dcba8 100644 --- a/packages/services/tsdown.config.ts +++ b/packages/services/tsdown.config.ts @@ -2,10 +2,7 @@ import { defineConfig } from "tsdown"; export default defineConfig({ entry: ["src/index.ts"], - outDir: "dist", - format: ["esm", "cjs"], - exports: true, + format: ["esm"], dts: true, - clean: true, - sourcemap: true, + platform: "neutral", }); diff --git a/packages/types/.eslintrc.js b/packages/types/.eslintrc.cjs similarity index 100% rename from packages/types/.eslintrc.js rename to packages/types/.eslintrc.cjs diff --git a/packages/types/package.json b/packages/types/package.json index ac0cd4b13..1e12367a0 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -3,11 +3,9 @@ "version": "1.1.0", "license": "AGPL-3.0", "private": true, + "type": "module", "exports": { - ".": { - "import": "./dist/index.mjs", - "require": "./dist/index.js" - }, + ".": "./dist/index.mjs", "./package.json": "./package.json" }, "scripts": { @@ -33,7 +31,7 @@ "tsdown": "catalog:", "typescript": "catalog:" }, - "main": "./dist/index.js", + "main": "./dist/index.mjs", "module": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.mts" } diff --git a/packages/types/tsconfig.json b/packages/types/tsconfig.json index 9a94573fb..c3fc87213 100644 --- a/packages/types/tsconfig.json +++ b/packages/types/tsconfig.json @@ -1,11 +1,5 @@ { - "extends": "@plane/typescript-config/base.json", - "compilerOptions": { - "outDir": "dist", - "rootDir": "src", - "allowSyntheticDefaultImports": true, - "strictNullChecks": true - }, + "extends": "@plane/typescript-config/node-library.json", "include": ["src/**/*"], "exclude": ["node_modules", "dist"] } diff --git a/packages/types/tsdown.config.ts b/packages/types/tsdown.config.ts index 7b2ea6fe2..5f7ccadb7 100644 --- a/packages/types/tsdown.config.ts +++ b/packages/types/tsdown.config.ts @@ -2,10 +2,7 @@ import { defineConfig } from "tsdown"; export default defineConfig({ entry: ["src/index.ts"], - outDir: "dist", - format: ["esm", "cjs"], - exports: true, + format: ["esm"], dts: true, - clean: true, - sourcemap: true, + exports: true, }); diff --git a/packages/typescript-config/base.json b/packages/typescript-config/base.json index 8844bd66b..2d393b9ed 100644 --- a/packages/typescript-config/base.json +++ b/packages/typescript-config/base.json @@ -1,18 +1,24 @@ { "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { + "target": "esnext", + "lib": [ + "es2023", + "DOM", + "DOM.Iterable" + ], + "moduleDetection": "force", + "module": "preserve", + "moduleResolution": "bundler", + "resolveJsonModule": true, "declaration": true, "declarationMap": true, + "emitDeclarationOnly": false, + "verbatimModuleSyntax": true, "esModuleInterop": true, - "incremental": false, "isolatedModules": true, - "lib": ["es2022", "DOM", "DOM.Iterable"], - "module": "NodeNext", - "moduleDetection": "force", - "moduleResolution": "NodeNext", - "resolveJsonModule": true, "skipLibCheck": true, "strict": true, - "target": "ES2022" + "noEmit": true } -} +} \ No newline at end of file diff --git a/packages/typescript-config/node-library.json b/packages/typescript-config/node-library.json index 9cd7acbde..d3623d797 100644 --- a/packages/typescript-config/node-library.json +++ b/packages/typescript-config/node-library.json @@ -1,4 +1,8 @@ { "$schema": "https://json.schemastore.org/tsconfig", - "extends": "./base.json" + "extends": "./base.json", + "compilerOptions": { + "lib": ["es2023"], + "types": ["node"] + } } diff --git a/packages/typescript-config/react-library.json b/packages/typescript-config/react-library.json index 6065fccff..7b06a2ea1 100644 --- a/packages/typescript-config/react-library.json +++ b/packages/typescript-config/react-library.json @@ -2,8 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "extends": "./base.json", "compilerOptions": { - "module": "Preserve", - "moduleResolution": "bundler", - "jsx": "react-jsx" + "jsx": "react-jsx", + "lib": ["es2023", "DOM", "DOM.Iterable"] } } diff --git a/packages/ui/package.json b/packages/ui/package.json index 1a57c5261..df602187e 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -6,13 +6,13 @@ "sideEffects": false, "license": "AGPL-3.0", "type": "module", - "main": "./dist/index.cjs", + "main": "./dist/index.js", "module": "./dist/index.js", - "types": "./dist/index.d.cts", + "types": "./dist/index.d.ts", "exports": { ".": { - "import": "./dist/index.js", - "require": "./dist/index.cjs" + "types": "./dist/index.d.ts", + "import": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/ui/src/breadcrumbs/navigation-dropdown.tsx b/packages/ui/src/breadcrumbs/navigation-dropdown.tsx index 9fb4e0e4e..fd7f114db 100644 --- a/packages/ui/src/breadcrumbs/navigation-dropdown.tsx +++ b/packages/ui/src/breadcrumbs/navigation-dropdown.tsx @@ -1,5 +1,3 @@ -"use client"; - import { CheckIcon } from "lucide-react"; import * as React from "react"; // ui diff --git a/packages/ui/src/scroll-area.tsx b/packages/ui/src/scroll-area.tsx index 77c73b56d..5473d2673 100644 --- a/packages/ui/src/scroll-area.tsx +++ b/packages/ui/src/scroll-area.tsx @@ -1,4 +1,3 @@ -"use client"; import * as RadixScrollArea from "@radix-ui/react-scroll-area"; import type { FC } from "react"; import React from "react"; diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.json index 2466c25e0..ecdcb1815 100644 --- a/packages/ui/tsconfig.json +++ b/packages/ui/tsconfig.json @@ -1,8 +1,5 @@ { "extends": "@plane/typescript-config/react-library.json", "include": ["src"], - "exclude": ["dist", "build", "node_modules"], - "compilerOptions": { - "esModuleInterop": true - } + "exclude": ["dist", "build", "node_modules"] } diff --git a/packages/ui/tsdown.config.ts b/packages/ui/tsdown.config.ts index 7b2ea6fe2..78c3dcba8 100644 --- a/packages/ui/tsdown.config.ts +++ b/packages/ui/tsdown.config.ts @@ -2,10 +2,7 @@ import { defineConfig } from "tsdown"; export default defineConfig({ entry: ["src/index.ts"], - outDir: "dist", - format: ["esm", "cjs"], - exports: true, + format: ["esm"], dts: true, - clean: true, - sourcemap: true, + platform: "neutral", }); diff --git a/packages/utils/package.json b/packages/utils/package.json index 2dbe9fcba..6dc653797 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -7,8 +7,8 @@ "type": "module", "exports": { ".": { - "import": "./dist/index.js", - "require": "./dist/index.cjs" + "types": "./dist/index.d.ts", + "import": "./dist/index.js" }, "./package.json": "./package.json" }, @@ -54,7 +54,7 @@ "tsdown": "catalog:", "typescript": "catalog:" }, - "main": "./dist/index.cjs", + "main": "./dist/index.js", "module": "./dist/index.js", - "types": "./dist/index.d.cts" + "types": "./dist/index.d.ts" } diff --git a/packages/utils/src/auth.ts b/packages/utils/src/auth.ts index 8526079e1..9e022b790 100644 --- a/packages/utils/src/auth.ts +++ b/packages/utils/src/auth.ts @@ -1,5 +1,3 @@ -"use client"; - import type { ReactNode } from "react"; // plane imports import type { TAuthErrorInfo } from "@plane/constants"; diff --git a/packages/utils/src/distribution-update.ts b/packages/utils/src/distribution-update.ts index 76bc8ce25..227884669 100644 --- a/packages/utils/src/distribution-update.ts +++ b/packages/utils/src/distribution-update.ts @@ -1,5 +1,3 @@ -"use client"; - import { format } from "date-fns"; import { get, set } from "lodash-es"; // plane imports diff --git a/packages/utils/src/emoji.ts b/packages/utils/src/emoji.ts index 2438cfeb7..567d3575e 100644 --- a/packages/utils/src/emoji.ts +++ b/packages/utils/src/emoji.ts @@ -1,5 +1,3 @@ -"use client"; - // plane imports import { RANDOM_EMOJI_CODES } from "@plane/constants"; diff --git a/packages/utils/tsdown.config.ts b/packages/utils/tsdown.config.ts index d228174b2..78c3dcba8 100644 --- a/packages/utils/tsdown.config.ts +++ b/packages/utils/tsdown.config.ts @@ -2,11 +2,7 @@ import { defineConfig } from "tsdown"; export default defineConfig({ entry: ["src/index.ts"], - outDir: "dist", - format: ["esm", "cjs"], - exports: true, + format: ["esm"], dts: true, - clean: true, - sourcemap: true, - target: "esnext", + platform: "neutral", }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eb53f26b5..9b66eb845 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -88,8 +88,8 @@ catalogs: specifier: 2.2.4 version: 2.2.4 tsdown: - specifier: 0.15.5 - version: 0.15.5 + specifier: 0.16.0 + version: 0.16.0 uuid: specifier: 13.0.0 version: 13.0.0 @@ -367,7 +367,7 @@ importers: version: 8.18.1 tsdown: specifier: 'catalog:' - version: 0.15.5(typescript@5.8.3) + version: 0.16.0(typescript@5.8.3) typescript: specifier: 5.8.3 version: 5.8.3 @@ -742,6 +742,9 @@ importers: '@types/jscodeshift': specifier: ^17.3.0 version: 17.3.0 + ast-types: + specifier: 0.14.2 + version: 0.14.2 jscodeshift: specifier: ^17.3.0 version: 17.3.0 @@ -772,7 +775,7 @@ importers: version: 18.3.11 tsdown: specifier: 'catalog:' - version: 0.15.5(typescript@5.8.3) + version: 0.16.0(typescript@5.8.3) typescript: specifier: 5.8.3 version: 5.8.3 @@ -802,7 +805,7 @@ importers: version: 0.2.2 tsdown: specifier: 'catalog:' - version: 0.15.5(typescript@5.8.3) + version: 0.16.0(typescript@5.8.3) typescript: specifier: 5.8.3 version: 5.8.3 @@ -977,7 +980,7 @@ importers: version: 8.5.6 tsdown: specifier: 'catalog:' - version: 0.15.5(typescript@5.8.3) + version: 0.16.0(typescript@5.8.3) typescript: specifier: 5.8.3 version: 5.8.3 @@ -1038,7 +1041,7 @@ importers: version: 18.3.11 tsdown: specifier: 'catalog:' - version: 0.15.5(typescript@5.8.3) + version: 0.16.0(typescript@5.8.3) typescript: specifier: 5.8.3 version: 5.8.3 @@ -1084,7 +1087,7 @@ importers: version: 18.3.11 tsdown: specifier: 'catalog:' - version: 0.15.5(typescript@5.8.3) + version: 0.16.0(typescript@5.8.3) typescript: specifier: 5.8.3 version: 5.8.3 @@ -1115,7 +1118,7 @@ importers: version: 22.12.0 tsdown: specifier: 'catalog:' - version: 0.15.5(typescript@5.8.3) + version: 0.16.0(typescript@5.8.3) typescript: specifier: 5.8.3 version: 5.8.3 @@ -1206,7 +1209,7 @@ importers: version: 9.1.10(@testing-library/dom@10.4.0)(prettier@3.6.2)(vite@7.1.11(@types/node@22.12.0)(jiti@2.5.1)(terser@5.43.1)(yaml@2.8.1)) tsdown: specifier: 'catalog:' - version: 0.15.5(typescript@5.8.3) + version: 0.16.0(typescript@5.8.3) typescript: specifier: 5.8.3 version: 5.8.3 @@ -1237,7 +1240,7 @@ importers: version: 0.0.4 tsdown: specifier: 'catalog:' - version: 0.15.5(typescript@5.8.3) + version: 0.16.0(typescript@5.8.3) typescript: specifier: 5.8.3 version: 5.8.3 @@ -1335,7 +1338,7 @@ importers: version: 18.3.1 tsdown: specifier: 'catalog:' - version: 0.15.5(typescript@5.8.3) + version: 0.16.0(typescript@5.8.3) typescript: specifier: 5.8.3 version: 5.8.3 @@ -1485,7 +1488,7 @@ importers: version: 8.6.14(prettier@3.6.2) tsdown: specifier: 'catalog:' - version: 0.15.5(typescript@5.8.3) + version: 0.16.0(typescript@5.8.3) typescript: specifier: 5.8.3 version: 5.8.3 @@ -1573,7 +1576,7 @@ importers: version: 18.3.11 tsdown: specifier: 'catalog:' - version: 0.15.5(typescript@5.8.3) + version: 0.16.0(typescript@5.8.3) typescript: specifier: 5.8.3 version: 5.8.3 @@ -1614,8 +1617,8 @@ packages: resolution: {integrity: sha512-2BCOP7TN8M+gVDj7/ht3hsaO/B/n5oDbiAyyvnRlNOs+u1o+JWNYTQrmpuNp1/Wq2gcFrI01JAW+paEKDMx/CA==} engines: {node: '>=6.9.0'} - '@babel/generator@7.28.3': - resolution: {integrity: sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==} + '@babel/generator@7.28.5': + resolution: {integrity: sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==} engines: {node: '>=6.9.0'} '@babel/helper-annotate-as-pure@7.27.3': @@ -1672,8 +1675,8 @@ packages: resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.27.1': - resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==} + '@babel/helper-validator-identifier@7.28.5': + resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==} engines: {node: '>=6.9.0'} '@babel/helper-validator-option@7.27.1': @@ -1684,8 +1687,8 @@ packages: resolution: {integrity: sha512-UPYc3SauzZ3JGgj87GgZ89JVdC5dj0AoetR5Bw6wj4niittNyFh6+eOGonYvJ1ao6B8lEa3Q3klS7ADZ53bc5g==} engines: {node: '>=6.9.0'} - '@babel/parser@7.28.4': - resolution: {integrity: sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==} + '@babel/parser@7.28.5': + resolution: {integrity: sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==} engines: {node: '>=6.0.0'} hasBin: true @@ -1779,8 +1782,8 @@ packages: resolution: {integrity: sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==} engines: {node: '>=6.9.0'} - '@babel/types@7.28.4': - resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==} + '@babel/types@7.28.5': + resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==} engines: {node: '>=6.9.0'} '@base-ui-components/react@1.0.0-beta.3': @@ -2227,8 +2230,8 @@ packages: '@napi-rs/wasm-runtime@0.2.12': resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==} - '@napi-rs/wasm-runtime@1.0.5': - resolution: {integrity: sha512-TBr9Cf9onSAS2LQ2+QHx6XcC6h9+RIzJgbqG3++9TUZSH204AwEy5jg3BTQ0VATsyoGj4ee49tN/y6rvaOOtcg==} + '@napi-rs/wasm-runtime@1.0.7': + resolution: {integrity: sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==} '@next/env@14.2.32': resolution: {integrity: sha512-n9mQdigI6iZ/DF6pCTwMKeWgF2e8lg7qgt5M7HXMLtyhZYMnf/u905M18sSpPmHL9MKp9JHo56C6jrD2EvWxng==} @@ -2613,15 +2616,11 @@ packages: cpu: [x64] os: [win32] - '@oxc-project/runtime@0.82.3': - resolution: {integrity: sha512-LNh5GlJvYHAnMurO+EyA8jJwN1rki7l3PSHuosDh2I7h00T6/u9rCkUjg/SvPmT1CZzvhuW0y+gf7jcqUy/Usg==} - engines: {node: '>=6.9.0'} - '@oxc-project/types@0.74.0': resolution: {integrity: sha512-KOw/RZrVlHGhCXh1RufBFF7Nuo7HdY5w1lRJukM/igIl6x9qtz8QycDvZdzb4qnHO7znrPyo2sJrFJK2eKHgfQ==} - '@oxc-project/types@0.82.3': - resolution: {integrity: sha512-6nCUxBnGX0c6qfZW5MaF6/fmu5dHJDMiMPaioKHKs5mi5+8/FHQ7WGjgQIz1zxpmceMYfdIXkOaLYE+ejbuOtA==} + '@oxc-project/types@0.96.0': + resolution: {integrity: sha512-r/xkmoXA0xEpU6UGtn18CNVjXH6erU3KCpCDbpLmbVxBFor1U9MqN5Z2uMmCHJuXjJzlnDR+hWY+yPoLo8oHDw==} '@popperjs/core@2.11.8': resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} @@ -2955,78 +2954,91 @@ packages: '@remix-run/node-fetch-server@0.9.0': resolution: {integrity: sha512-SoLMv7dbH+njWzXnOY6fI08dFMI5+/dQ+vY3n8RnnbdG7MdJEgiP28Xj/xWlnRnED/aB6SFw56Zop+LbmaaKqA==} - '@rolldown/binding-android-arm64@1.0.0-beta.34': - resolution: {integrity: sha512-jf5GNe5jP3Sr1Tih0WKvg2bzvh5T/1TA0fn1u32xSH7ca/p5t+/QRr4VRFCV/na5vjwKEhwWrChsL2AWlY+eoA==} + '@rolldown/binding-android-arm64@1.0.0-beta.46': + resolution: {integrity: sha512-1nfXUqZ227uKuLw9S12OQZU5z+h+cUOXLW5orntWVxHWvt20pt1PGUcVoIU8ssngKABu0vzHY268kAxuYX24BQ==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.0.0-beta.34': - resolution: {integrity: sha512-2F/TqH4QuJQ34tgWxqBjFL3XV1gMzeQgUO8YRtCPGBSP0GhxtoFzsp7KqmQEothsxztlv+KhhT9Dbg3HHwHViQ==} + '@rolldown/binding-darwin-arm64@1.0.0-beta.46': + resolution: {integrity: sha512-w4IyumCQkpA3ezZ37COG3mMusFYxjEE8zqCfXZU/qb5k1JMD2kVl0fgJafIbGli27tgelYMweXkJGnlrxSGT9Q==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.0.0-beta.34': - resolution: {integrity: sha512-E1QuFslgLWbHQ8Qli/AqUKdfg0pockQPwRxVbhNQ74SciZEZpzLaujkdmOLSccMlSXDfFCF8RPnMoRAzQ9JV8Q==} + '@rolldown/binding-darwin-x64@1.0.0-beta.46': + resolution: {integrity: sha512-9QqaRHPbdAnv306+7nzltq4CktJ49Z4W9ybHLWYxSeDSoOGL4l1QmxjDWoRHrqYEkNr+DWHqqoD4NNHgOk7lKw==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.0.0-beta.34': - resolution: {integrity: sha512-VS8VInNCwnkpI9WeQaWu3kVBq9ty6g7KrHdLxYMzeqz24+w9hg712TcWdqzdY6sn+24lUoMD9jTZrZ/qfVpk0g==} + '@rolldown/binding-freebsd-x64@1.0.0-beta.46': + resolution: {integrity: sha512-Cuk5opdEMb+Evi7QcGArc4hWVoHSGz/qyUUWLTpFJWjylb8wH1u4f+HZE6gVGACuf4w/5P/VhAIamHyweAbBVQ==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.34': - resolution: {integrity: sha512-4St4emjcnULnxJYb/5ZDrH/kK/j6PcUgc3eAqH5STmTrcF+I9m/X2xvSF2a2bWv1DOQhxBewThu0KkwGHdgu5w==} + '@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.46': + resolution: {integrity: sha512-BPWDxEnxb4JNMXrSmPuc5ywI6cHOELofmT0e/WGkbL1MwKYRVvqTf+gMcGLF6zAV+OF5hLYMAEk8XKfao6xmDQ==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.0.0-beta.34': - resolution: {integrity: sha512-a737FTqhFUoWfnebS2SnQ2BS50p0JdukdkUBwy2J06j4hZ6Eej0zEB8vTfAqoCjn8BQKkXBy+3Sx0IRkgwz1gA==} + '@rolldown/binding-linux-arm64-gnu@1.0.0-beta.46': + resolution: {integrity: sha512-CDQSVlryuRC955EwgbBK1h/6xQyttSxQG8+6/PeOfvUlfKGPMbBdcsOEHzGve5ED1Y7Ovh2UFjY/eT106aQqig==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] - '@rolldown/binding-linux-arm64-musl@1.0.0-beta.34': - resolution: {integrity: sha512-NH+FeQWKyuw0k+PbXqpFWNfvD8RPvfJk766B/njdaWz4TmiEcSB0Nb6guNw1rBpM1FmltQYb3fFnTumtC6pRfA==} + '@rolldown/binding-linux-arm64-musl@1.0.0-beta.46': + resolution: {integrity: sha512-6IZHycZetmVaC9zwcl1aA9fPYPuxLa5apALjJRoJu/2BZdER3zBWxDnCzlEh4SUlo++cwdfV9ZQRK9JS8cLNuA==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] - '@rolldown/binding-linux-x64-gnu@1.0.0-beta.34': - resolution: {integrity: sha512-Q3RSCivp8pNadYK8ke3hLnQk08BkpZX9BmMjgwae2FWzdxhxxUiUzd9By7kneUL0vRQ4uRnhD9VkFQ+Haeqdvw==} + '@rolldown/binding-linux-x64-gnu@1.0.0-beta.46': + resolution: {integrity: sha512-R/kI8fMnsxXvWzcMv5A408hfvrwtAwD/HdQKIE1HKWmfxdSHB11Y3PVwlnt7RVo7I++6mWCIxxj5o3gut4ibEw==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] - '@rolldown/binding-linux-x64-musl@1.0.0-beta.34': - resolution: {integrity: sha512-wDd/HrNcVoBhWWBUW3evJHoo7GJE/RofssBy3Dsiip05YUBmokQVrYAyrboOY4dzs/lJ7HYeBtWQ9hj8wlyF0A==} + '@rolldown/binding-linux-x64-musl@1.0.0-beta.46': + resolution: {integrity: sha512-vGUXKuHGUlG2XBwvN4A8KIegeaVVxN2ZxdGG9thycwRkzUvZ9ccKvqUVZM8cVRyNRWgVgsGCS18qLUefVplwKw==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] - '@rolldown/binding-openharmony-arm64@1.0.0-beta.34': - resolution: {integrity: sha512-dH3FTEV6KTNWpYSgjSXZzeX7vLty9oBYn6R3laEdhwZftQwq030LKL+5wyQdlbX5pnbh4h127hpv3Hl1+sj8dg==} + '@rolldown/binding-openharmony-arm64@1.0.0-beta.46': + resolution: {integrity: sha512-6SpDGH+0Dud3/RFDoC6fva6+Cm/0COnMRKR8kI4ssHWlCXPymlM59kYFCIBLZZqwURpNVVMPln4rWjxXuwD23w==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-wasm32-wasi@1.0.0-beta.34': - resolution: {integrity: sha512-y5BUf+QtO0JsIDKA51FcGwvhJmv89BYjUl8AmN7jqD6k/eU55mH6RJYnxwCsODq5m7KSSTigVb6O7/GqB8wbPw==} + '@rolldown/binding-wasm32-wasi@1.0.0-beta.46': + resolution: {integrity: sha512-peWDGp8YUAbTw5RJzr9AuPlTuf2adr+TBNIGF6ysMbobBKuQL41wYfGQlcerXJfLmjnQLf6DU2zTPBTfrS2Y8A==} engines: {node: '>=14.0.0'} cpu: [wasm32] - '@rolldown/binding-win32-arm64-msvc@1.0.0-beta.34': - resolution: {integrity: sha512-ga5hFhdTwpaNxEiuxZHWnD3ed0GBAzbgzS5tRHpe0ObptxM1a9Xrq6TVfNQirBLwb5Y7T/FJmJi3pmdLy95ljg==} + '@rolldown/binding-win32-arm64-msvc@1.0.0-beta.46': + resolution: {integrity: sha512-Ydbwg1JCnVbTAuDyKtu3dOuBLgZ6iZsy8p1jMPX/r7LMPnpXnS15GNcmMwa11nyl/M2VjGE1i/MORUTMt8mnRQ==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-ia32-msvc@1.0.0-beta.34': - resolution: {integrity: sha512-4/MBp9T9eRnZskxWr8EXD/xHvLhdjWaeX/qY9LPRG1JdCGV3DphkLTy5AWwIQ5jhAy2ZNJR5z2fYRlpWU0sIyQ==} + '@rolldown/binding-win32-ia32-msvc@1.0.0-beta.46': + resolution: {integrity: sha512-XcPZG2uDxEn6G3takXQvi7xWgDiJqdC0N6mubL/giKD4I65zgQtbadwlIR8oDB/erOahZr5IX8cRBVcK3xcvpg==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [ia32] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.0.0-beta.34': - resolution: {integrity: sha512-7O5iUBX6HSBKlQU4WykpUoEmb0wQmonb6ziKFr3dJTHud2kzDnWMqk344T0qm3uGv9Ddq6Re/94pInxo1G2d4w==} + '@rolldown/binding-win32-x64-msvc@1.0.0-beta.46': + resolution: {integrity: sha512-VPC+F9S6nllv02aGG+gxHRgpOaOlYBPn94kDe9DCFSLOztf4uYIAkN+tLDlg5OcsOC8XNR5rP49zOfI0PfnHYw==} + engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] - '@rolldown/pluginutils@1.0.0-beta.34': - resolution: {integrity: sha512-LyAREkZHP5pMom7c24meKmJCdhf2hEyvam2q0unr3or9ydwDL+DJ8chTF6Av/RFPb3rH8UFBdMzO5MxTZW97oA==} + '@rolldown/pluginutils@1.0.0-beta.46': + resolution: {integrity: sha512-xMNwJo/pHkEP/mhNVnW+zUiJDle6/hxrwO0mfSJuEVRbBfgrJFuUSRoZx/nYUw5pCjrysl9OkNXCkAdih8GCnA==} '@rollup/pluginutils@5.2.0': resolution: {integrity: sha512-qWJ2ZTbmumwiLFomfzTyt5Kng4hwPi9rwCYN4SHb6eaRU1KNO4ccxINHr/VhH4GgPlt1XfSTLX2LBTme8ne4Zw==} @@ -4587,13 +4599,17 @@ packages: resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} engines: {node: '>=12'} - ast-kit@2.1.2: - resolution: {integrity: sha512-cl76xfBQM6pztbrFWRnxbrDm9EOqDr1BF6+qQnnDZG2Co2LjyUktkN9GTJfBAfdae+DbT2nJf2nCGAdDDN7W2g==} - engines: {node: '>=20.18.0'} + ast-kit@2.2.0: + resolution: {integrity: sha512-m1Q/RaVOnTp9JxPX+F+Zn7IcLYMzM8kZofDImfsKZd8MbR+ikdOzTeztStWqfrqIxZnYWryyI9ePm3NGjnZgGw==} + engines: {node: '>=20.19.0'} ast-types-flow@0.0.8: resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==} + ast-types@0.14.2: + resolution: {integrity: sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA==} + engines: {node: '>=4'} + ast-types@0.16.1: resolution: {integrity: sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==} engines: {node: '>=4'} @@ -4682,8 +4698,8 @@ packages: bind-event-listener@3.0.0: resolution: {integrity: sha512-PJvH288AWQhKs2v9zyfYdPzlPqf5bXbGMmhmUIY9x4dAUGIWgomO771oBQNwJnMQSnUIXhKu6sgzpBRXTlvb8Q==} - birpc@2.6.1: - resolution: {integrity: sha512-LPnFhlDpdSH6FJhJyn4M0kFO7vtQ5iPw24FnG0y21q09xC7e8+1LeR31S1MAIrDAHp4m7aas4bEkTDTvMAtebQ==} + birpc@2.8.0: + resolution: {integrity: sha512-Bz2a4qD/5GRhiHSwj30c/8kC8QGj12nNDwz3D4ErQ4Xhy35dsSDvF+RA/tWpjyU0pdGtSDiEk6B5fBGE1qNVhw==} bluebird@3.7.2: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} @@ -5322,9 +5338,9 @@ packages: resolution: {integrity: sha512-kQhDYKZecqnM0fCnzI5eIv5L4cAe/iRI+HqMbO/hbRdTAeXDG+M9FjipUxNfbARuEg4iHIbhnhs78BCHNbSxEQ==} engines: {node: '>=12'} - dts-resolver@2.1.2: - resolution: {integrity: sha512-xeXHBQkn2ISSXxbJWD828PFjtyg+/UrMDo7W4Ffcs7+YWCquxU8YjV1KoxuiL+eJ5pg3ll+bC6flVv61L3LKZg==} - engines: {node: '>=20.18.0'} + dts-resolver@2.1.3: + resolution: {integrity: sha512-bihc7jPC90VrosXNzK0LTE2cuLP6jr0Ro8jk+kMugHReJVLIpHz/xadeq3MhuwyO4TD4OA3L1Q8pBBFRc08Tsw==} + engines: {node: '>=20.19.0'} peerDependencies: oxc-resolver: '>=11.0.0' peerDependenciesMeta: @@ -5923,8 +5939,8 @@ packages: resolution: {integrity: sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==} engines: {node: '>= 0.4'} - get-tsconfig@4.10.1: - resolution: {integrity: sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==} + get-tsconfig@4.13.0: + resolution: {integrity: sha512-1VKTZJCwBrvbd+Wn3AOgQP/2Av+TfTCOlE4AcRJE72W1ksZXbAx8PPBR9RzgTeSPzlPMHrbANMH3LbltH73wxQ==} glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} @@ -7146,6 +7162,9 @@ packages: objectorarray@1.0.5: resolution: {integrity: sha512-eJJDYkhJFFbBBAxeh8xW+weHlkI28n2ZdQV/J/DNfWfSKlGEf2xcfAbZTv3riEXHAhL9SVOTs2pRmXiSTf78xg==} + obug@2.1.0: + resolution: {integrity: sha512-uu/tgLPoa75CFA7UDkmqspKbefvZh1WMPwkU3bNr0PY746a/+xwXVgbw5co5C3GvJj3h5u8g/pbxXzI0gd1QFg==} + on-finished@2.3.0: resolution: {integrity: sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==} engines: {node: '>= 0.8'} @@ -7978,13 +7997,13 @@ packages: deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true - rolldown-plugin-dts@0.16.11: - resolution: {integrity: sha512-9IQDaPvPqTx3RjG2eQCK5GYZITo203BxKunGI80AGYicu1ySFTUyugicAaTZWRzFWh9DSnzkgNeMNbDWBbSs0w==} - engines: {node: '>=20.18.0'} + rolldown-plugin-dts@0.17.8: + resolution: {integrity: sha512-76EEBlhF00yeY6M7VpMkWKI4r9WjuoMiOGey7j4D6zf3m0BR+ZrrY9hvSXdueJ3ljxSLq4DJBKFpX/X9+L7EKw==} + engines: {node: '>=20.19.0'} peerDependencies: '@ts-macro/tsc': ^0.3.6 '@typescript/native-preview': '>=7.0.0-dev.20250601.1' - rolldown: ^1.0.0-beta.9 + rolldown: ^1.0.0-beta.44 typescript: 5.8.3 vue-tsc: ~3.1.0 peerDependenciesMeta: @@ -7997,8 +8016,9 @@ packages: vue-tsc: optional: true - rolldown@1.0.0-beta.34: - resolution: {integrity: sha512-Wwh7EwalMzzX3Yy3VN58VEajeR2Si8+HDNMf706jPLIqU7CxneRW+dQVfznf5O0TWTnJyu4npelwg2bzTXB1Nw==} + rolldown@1.0.0-beta.46: + resolution: {integrity: sha512-FYUbq0StVHOjkR/hEJ667Pup3ugeB9odBcbmxU5il9QfT9X2t/FPhkqFYQthbYxD2bKnQyO+2vHTgnmOHwZdeA==} + engines: {node: ^20.19.0 || >=22.12.0} hasBin: true rollup@4.52.4: @@ -8066,8 +8086,8 @@ packages: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true - semver@7.7.2: - resolution: {integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==} + semver@7.7.3: + resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} engines: {node: '>=10'} hasBin: true @@ -8542,19 +8562,23 @@ packages: resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==} engines: {node: '>=6'} - tsdown@0.15.5: - resolution: {integrity: sha512-2UP5hDBVYGHnnQSIYtDxMDjePmut7EDpvW5E2kVnjpZ17JgiPvRJPHwk5Dm045bC75+q8yxAlw/CMIELymTWaw==} + tsdown@0.16.0: + resolution: {integrity: sha512-VCqqxT5FbjCmxmLNlOLHiNhu1MBtdvCsk43murvUFloQzQzr/C0FRauWtAw7lAPmS40rZlgocCoTNFqX72WSTg==} engines: {node: '>=20.19.0'} hasBin: true peerDependencies: '@arethetypeswrong/core': ^0.18.1 + '@vitejs/devtools': ^0.0.0-alpha.10 publint: ^0.3.0 typescript: 5.8.3 unplugin-lightningcss: ^0.4.0 unplugin-unused: ^0.5.0 + unrun: ^0.2.1 peerDependenciesMeta: '@arethetypeswrong/core': optional: true + '@vitejs/devtools': + optional: true publint: optional: true typescript: @@ -8563,6 +8587,8 @@ packages: optional: true unplugin-unused: optional: true + unrun: + optional: true tslib@2.5.3: resolution: {integrity: sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==} @@ -9201,7 +9227,7 @@ snapshots: '@babel/code-frame@7.27.1': dependencies: - '@babel/helper-validator-identifier': 7.27.1 + '@babel/helper-validator-identifier': 7.28.5 js-tokens: 4.0.0 picocolors: 1.1.1 @@ -9210,14 +9236,14 @@ snapshots: '@babel/core@7.28.4': dependencies: '@babel/code-frame': 7.27.1 - '@babel/generator': 7.28.3 + '@babel/generator': 7.28.5 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-module-transforms': 7.28.3(@babel/core@7.28.4) '@babel/helpers': 7.26.10 - '@babel/parser': 7.28.4 + '@babel/parser': 7.28.5 '@babel/template': 7.27.2 '@babel/traverse': 7.28.4 - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 '@jridgewell/remapping': 2.3.5 convert-source-map: 2.0.0 debug: 4.4.3 @@ -9227,17 +9253,17 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/generator@7.28.3': + '@babel/generator@7.28.5': dependencies: - '@babel/parser': 7.28.4 - '@babel/types': 7.28.4 + '@babel/parser': 7.28.5 + '@babel/types': 7.28.5 '@jridgewell/gen-mapping': 0.3.13 '@jridgewell/trace-mapping': 0.3.31 jsesc: 3.1.0 '@babel/helper-annotate-as-pure@7.27.3': dependencies: - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 '@babel/helper-compilation-targets@7.27.2': dependencies: @@ -9265,14 +9291,14 @@ snapshots: '@babel/helper-member-expression-to-functions@7.27.1': dependencies: '@babel/traverse': 7.28.4 - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 transitivePeerDependencies: - supports-color '@babel/helper-module-imports@7.27.1': dependencies: '@babel/traverse': 7.28.4 - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 transitivePeerDependencies: - supports-color @@ -9280,14 +9306,14 @@ snapshots: dependencies: '@babel/core': 7.28.4 '@babel/helper-module-imports': 7.27.1 - '@babel/helper-validator-identifier': 7.27.1 + '@babel/helper-validator-identifier': 7.28.5 '@babel/traverse': 7.28.4 transitivePeerDependencies: - supports-color '@babel/helper-optimise-call-expression@7.27.1': dependencies: - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 '@babel/helper-plugin-utils@7.27.1': {} @@ -9303,24 +9329,24 @@ snapshots: '@babel/helper-skip-transparent-expression-wrappers@7.27.1': dependencies: '@babel/traverse': 7.28.4 - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 transitivePeerDependencies: - supports-color '@babel/helper-string-parser@7.27.1': {} - '@babel/helper-validator-identifier@7.27.1': {} + '@babel/helper-validator-identifier@7.28.5': {} '@babel/helper-validator-option@7.27.1': {} '@babel/helpers@7.26.10': dependencies: '@babel/template': 7.27.2 - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 - '@babel/parser@7.28.4': + '@babel/parser@7.28.5': dependencies: - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 '@babel/plugin-syntax-flow@7.27.1(@babel/core@7.28.4)': dependencies: @@ -9425,25 +9451,25 @@ snapshots: '@babel/template@7.27.2': dependencies: '@babel/code-frame': 7.27.1 - '@babel/parser': 7.28.4 - '@babel/types': 7.28.4 + '@babel/parser': 7.28.5 + '@babel/types': 7.28.5 '@babel/traverse@7.28.4': dependencies: '@babel/code-frame': 7.27.1 - '@babel/generator': 7.28.3 + '@babel/generator': 7.28.5 '@babel/helper-globals': 7.28.0 - '@babel/parser': 7.28.4 + '@babel/parser': 7.28.5 '@babel/template': 7.27.2 - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 debug: 4.4.3 transitivePeerDependencies: - supports-color - '@babel/types@7.28.4': + '@babel/types@7.28.5': dependencies: '@babel/helper-string-parser': 7.27.1 - '@babel/helper-validator-identifier': 7.27.1 + '@babel/helper-validator-identifier': 7.28.5 '@base-ui-components/react@1.0.0-beta.3(@types/react@18.3.11)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: @@ -9916,7 +9942,7 @@ snapshots: '@tybys/wasm-util': 0.10.1 optional: true - '@napi-rs/wasm-runtime@1.0.5': + '@napi-rs/wasm-runtime@1.0.7': dependencies: '@emnapi/core': 1.5.0 '@emnapi/runtime': 1.5.0 @@ -9986,7 +10012,7 @@ snapshots: proc-log: 3.0.0 promise-inflight: 1.0.1 promise-retry: 2.0.1 - semver: 7.7.2 + semver: 7.7.3 which: 3.0.1 transitivePeerDependencies: - bluebird @@ -9999,7 +10025,7 @@ snapshots: json-parse-even-better-errors: 3.0.2 normalize-package-data: 5.0.0 proc-log: 3.0.0 - semver: 7.7.2 + semver: 7.7.3 transitivePeerDependencies: - bluebird @@ -10232,7 +10258,7 @@ snapshots: '@types/shimmer': 1.2.0 import-in-the-middle: 1.14.2 require-in-the-middle: 7.5.2 - semver: 7.7.2 + semver: 7.7.3 shimmer: 1.2.1 transitivePeerDependencies: - supports-color @@ -10306,11 +10332,9 @@ snapshots: '@oxc-parser/binding-win32-x64-msvc@0.74.0': optional: true - '@oxc-project/runtime@0.82.3': {} - '@oxc-project/types@0.74.0': {} - '@oxc-project/types@0.82.3': {} + '@oxc-project/types@0.96.0': {} '@popperjs/core@2.11.8': {} @@ -10653,12 +10677,12 @@ snapshots: '@react-router/dev@7.9.5(@react-router/serve@7.9.5(react-router@7.9.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(typescript@5.8.3))(@types/node@22.12.0)(babel-plugin-macros@3.1.0)(jiti@2.5.1)(react-router@7.9.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.43.1)(typescript@5.8.3)(vite@7.1.11(@types/node@22.12.0)(jiti@2.5.1)(terser@5.43.1)(yaml@2.8.1))(yaml@2.8.1)': dependencies: '@babel/core': 7.28.4 - '@babel/generator': 7.28.3 - '@babel/parser': 7.28.4 + '@babel/generator': 7.28.5 + '@babel/parser': 7.28.5 '@babel/plugin-syntax-jsx': 7.27.1(@babel/core@7.28.4) '@babel/preset-typescript': 7.27.1(@babel/core@7.28.4) '@babel/traverse': 7.28.4 - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 '@npmcli/package-json': 4.0.1 '@react-router/node': 7.9.5(react-router@7.9.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(typescript@5.8.3) '@remix-run/node-fetch-server': 0.9.0 @@ -10677,7 +10701,7 @@ snapshots: prettier: 3.6.2 react-refresh: 0.14.2 react-router: 7.9.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - semver: 7.7.2 + semver: 7.7.3 tinyglobby: 0.2.15 valibot: 1.1.0(typescript@5.8.3) vite: 7.1.11(@types/node@22.12.0)(jiti@2.5.1)(terser@5.43.1)(yaml@2.8.1) @@ -10735,51 +10759,51 @@ snapshots: '@remix-run/node-fetch-server@0.9.0': {} - '@rolldown/binding-android-arm64@1.0.0-beta.34': + '@rolldown/binding-android-arm64@1.0.0-beta.46': optional: true - '@rolldown/binding-darwin-arm64@1.0.0-beta.34': + '@rolldown/binding-darwin-arm64@1.0.0-beta.46': optional: true - '@rolldown/binding-darwin-x64@1.0.0-beta.34': + '@rolldown/binding-darwin-x64@1.0.0-beta.46': optional: true - '@rolldown/binding-freebsd-x64@1.0.0-beta.34': + '@rolldown/binding-freebsd-x64@1.0.0-beta.46': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.34': + '@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.46': optional: true - '@rolldown/binding-linux-arm64-gnu@1.0.0-beta.34': + '@rolldown/binding-linux-arm64-gnu@1.0.0-beta.46': optional: true - '@rolldown/binding-linux-arm64-musl@1.0.0-beta.34': + '@rolldown/binding-linux-arm64-musl@1.0.0-beta.46': optional: true - '@rolldown/binding-linux-x64-gnu@1.0.0-beta.34': + '@rolldown/binding-linux-x64-gnu@1.0.0-beta.46': optional: true - '@rolldown/binding-linux-x64-musl@1.0.0-beta.34': + '@rolldown/binding-linux-x64-musl@1.0.0-beta.46': optional: true - '@rolldown/binding-openharmony-arm64@1.0.0-beta.34': + '@rolldown/binding-openharmony-arm64@1.0.0-beta.46': optional: true - '@rolldown/binding-wasm32-wasi@1.0.0-beta.34': + '@rolldown/binding-wasm32-wasi@1.0.0-beta.46': dependencies: - '@napi-rs/wasm-runtime': 1.0.5 + '@napi-rs/wasm-runtime': 1.0.7 optional: true - '@rolldown/binding-win32-arm64-msvc@1.0.0-beta.34': + '@rolldown/binding-win32-arm64-msvc@1.0.0-beta.46': optional: true - '@rolldown/binding-win32-ia32-msvc@1.0.0-beta.34': + '@rolldown/binding-win32-ia32-msvc@1.0.0-beta.46': optional: true - '@rolldown/binding-win32-x64-msvc@1.0.0-beta.34': + '@rolldown/binding-win32-x64-msvc@1.0.0-beta.46': optional: true - '@rolldown/pluginutils@1.0.0-beta.34': {} + '@rolldown/pluginutils@1.0.0-beta.46': {} '@rollup/pluginutils@5.2.0(rollup@4.52.4)': dependencies: @@ -11229,7 +11253,7 @@ snapshots: magic-string: 0.30.21 path-browserify: 1.0.1 process: 0.11.10 - semver: 7.7.2 + semver: 7.7.3 storybook: 8.6.14(prettier@3.6.2) style-loader: 3.3.4(webpack@5.101.3(@swc/core@1.13.5(@swc/helpers@0.5.17))(esbuild@0.25.0)) terser-webpack-plugin: 5.3.14(@swc/core@1.13.5(@swc/helpers@0.5.17))(esbuild@0.25.0)(webpack@5.101.3(@swc/core@1.13.5(@swc/helpers@0.5.17))(esbuild@0.25.0)) @@ -11269,7 +11293,7 @@ snapshots: jsdoc-type-pratt-parser: 4.8.0 process: 0.11.10 recast: 0.23.11 - semver: 7.7.2 + semver: 7.7.3 util: 0.12.5 ws: 8.18.3 optionalDependencies: @@ -11323,7 +11347,7 @@ snapshots: react-docgen: 7.1.1 react-dom: 18.3.1(react@18.3.1) resolve: 1.22.10 - semver: 7.7.2 + semver: 7.7.3 storybook: 8.6.14(prettier@3.6.2) tsconfig-paths: 4.2.0 webpack: 5.101.3(@swc/core@1.13.5(@swc/helpers@0.5.17))(esbuild@0.25.0) @@ -11843,24 +11867,24 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.28.4 - '@babel/types': 7.28.4 + '@babel/parser': 7.28.5 + '@babel/types': 7.28.5 '@types/babel__generator': 7.27.0 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.28.0 '@types/babel__generator@7.27.0': dependencies: - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 '@types/babel__template@7.4.4': dependencies: - '@babel/parser': 7.28.4 - '@babel/types': 7.28.4 + '@babel/parser': 7.28.5 + '@babel/types': 7.28.5 '@types/babel__traverse@7.28.0': dependencies: - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 '@types/body-parser@1.19.6': dependencies: @@ -12168,7 +12192,7 @@ snapshots: fast-glob: 3.3.3 is-glob: 4.0.3 minimatch: 9.0.5 - semver: 7.7.2 + semver: 7.7.3 ts-api-utils: 2.1.0(typescript@5.8.3) typescript: 5.8.3 transitivePeerDependencies: @@ -12613,13 +12637,17 @@ snapshots: assertion-error@2.0.1: {} - ast-kit@2.1.2: + ast-kit@2.2.0: dependencies: - '@babel/parser': 7.28.4 + '@babel/parser': 7.28.5 pathe: 2.0.3 ast-types-flow@0.0.8: {} + ast-types@0.14.2: + dependencies: + tslib: 2.8.1 + ast-types@0.16.1: dependencies: tslib: 2.8.1 @@ -12663,9 +12691,9 @@ snapshots: babel-dead-code-elimination@1.0.10: dependencies: '@babel/core': 7.28.4 - '@babel/parser': 7.28.4 + '@babel/parser': 7.28.5 '@babel/traverse': 7.28.4 - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 transitivePeerDependencies: - supports-color @@ -12704,7 +12732,7 @@ snapshots: bind-event-listener@3.0.0: {} - birpc@2.6.1: {} + birpc@2.8.0: {} bluebird@3.7.2: {} @@ -13078,7 +13106,7 @@ snapshots: postcss-modules-scope: 3.2.1(postcss@8.5.6) postcss-modules-values: 4.0.0(postcss@8.5.6) postcss-value-parser: 4.2.0 - semver: 7.7.2 + semver: 7.7.3 optionalDependencies: webpack: 5.101.3(@swc/core@1.13.5(@swc/helpers@0.5.17))(esbuild@0.25.0) @@ -13338,7 +13366,7 @@ snapshots: dotenv@17.2.1: {} - dts-resolver@2.1.2: {} + dts-resolver@2.1.3: {} dunder-proto@1.0.1: dependencies: @@ -13604,7 +13632,7 @@ snapshots: '@nolyfill/is-core-module': 1.0.39 debug: 4.4.3 eslint: 8.57.1 - get-tsconfig: 4.10.1 + get-tsconfig: 4.13.0 is-bun-module: 2.0.0 stable-hash: 0.0.5 tinyglobby: 0.2.15 @@ -13680,7 +13708,7 @@ snapshots: eslint-plugin-react-hooks@6.1.1(eslint@8.57.1): dependencies: '@babel/core': 7.28.4 - '@babel/parser': 7.28.4 + '@babel/parser': 7.28.5 eslint: 8.57.1 zod: 3.25.76 zod-validation-error: 4.0.2(zod@3.25.76) @@ -14043,7 +14071,7 @@ snapshots: minimatch: 3.1.2 node-abort-controller: 3.1.1 schema-utils: 3.3.0 - semver: 7.7.2 + semver: 7.7.3 tapable: 2.3.0 typescript: 5.8.3 webpack: 5.101.3(@swc/core@1.13.5(@swc/helpers@0.5.17))(esbuild@0.25.0) @@ -14136,7 +14164,7 @@ snapshots: es-errors: 1.3.0 get-intrinsic: 1.3.0 - get-tsconfig@4.10.1: + get-tsconfig@4.13.0: dependencies: resolve-pkg-maps: 1.0.0 @@ -14517,7 +14545,7 @@ snapshots: is-bun-module@2.0.0: dependencies: - semver: 7.7.2 + semver: 7.7.3 is-callable@1.2.7: {} @@ -14675,7 +14703,7 @@ snapshots: jscodeshift@17.3.0: dependencies: '@babel/core': 7.28.4 - '@babel/parser': 7.28.4 + '@babel/parser': 7.28.5 '@babel/plugin-transform-class-properties': 7.27.1(@babel/core@7.28.4) '@babel/plugin-transform-modules-commonjs': 7.27.1(@babel/core@7.28.4) '@babel/plugin-transform-nullish-coalescing-operator': 7.27.1(@babel/core@7.28.4) @@ -15551,7 +15579,7 @@ snapshots: node-abi@3.75.0: dependencies: - semver: 7.7.2 + semver: 7.7.3 node-abort-controller@3.1.1: {} @@ -15570,7 +15598,7 @@ snapshots: dependencies: hosted-git-info: 6.1.3 is-core-module: 2.16.1 - semver: 7.7.2 + semver: 7.7.3 validate-npm-package-license: 3.0.4 normalize-path@3.0.0: {} @@ -15585,7 +15613,7 @@ snapshots: npm-install-checks@6.3.0: dependencies: - semver: 7.7.2 + semver: 7.7.3 npm-normalize-package-bin@3.0.1: {} @@ -15593,7 +15621,7 @@ snapshots: dependencies: hosted-git-info: 6.1.3 proc-log: 3.0.0 - semver: 7.7.2 + semver: 7.7.3 validate-npm-package-name: 5.0.1 npm-pick-manifest@8.0.2: @@ -15601,7 +15629,7 @@ snapshots: npm-install-checks: 6.3.0 npm-normalize-package-bin: 3.0.1 npm-package-arg: 10.1.0 - semver: 7.7.2 + semver: 7.7.3 npm-run-path@4.0.1: dependencies: @@ -15664,6 +15692,8 @@ snapshots: objectorarray@1.0.5: {} + obug@2.1.0: {} + on-finished@2.3.0: dependencies: ee-first: 1.1.1 @@ -16235,7 +16265,7 @@ snapshots: dependencies: '@babel/core': 7.28.4 '@babel/traverse': 7.28.4 - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.28.0 '@types/doctrine': 0.0.9 @@ -16250,7 +16280,7 @@ snapshots: dependencies: '@babel/core': 7.28.4 '@babel/traverse': 7.28.4 - '@babel/types': 7.28.4 + '@babel/types': 7.28.5 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.28.0 '@types/doctrine': 0.0.9 @@ -16610,45 +16640,42 @@ snapshots: dependencies: glob: 11.1.0 - rolldown-plugin-dts@0.16.11(rolldown@1.0.0-beta.34)(typescript@5.8.3): + rolldown-plugin-dts@0.17.8(rolldown@1.0.0-beta.46)(typescript@5.8.3): dependencies: - '@babel/generator': 7.28.3 - '@babel/parser': 7.28.4 - '@babel/types': 7.28.4 - ast-kit: 2.1.2 - birpc: 2.6.1 - debug: 4.4.3 - dts-resolver: 2.1.2 - get-tsconfig: 4.10.1 + '@babel/generator': 7.28.5 + '@babel/parser': 7.28.5 + '@babel/types': 7.28.5 + ast-kit: 2.2.0 + birpc: 2.8.0 + dts-resolver: 2.1.3 + get-tsconfig: 4.13.0 magic-string: 0.30.21 - rolldown: 1.0.0-beta.34 + obug: 2.1.0 + rolldown: 1.0.0-beta.46 optionalDependencies: typescript: 5.8.3 transitivePeerDependencies: - oxc-resolver - - supports-color - rolldown@1.0.0-beta.34: + rolldown@1.0.0-beta.46: dependencies: - '@oxc-project/runtime': 0.82.3 - '@oxc-project/types': 0.82.3 - '@rolldown/pluginutils': 1.0.0-beta.34 - ansis: 4.2.0 + '@oxc-project/types': 0.96.0 + '@rolldown/pluginutils': 1.0.0-beta.46 optionalDependencies: - '@rolldown/binding-android-arm64': 1.0.0-beta.34 - '@rolldown/binding-darwin-arm64': 1.0.0-beta.34 - '@rolldown/binding-darwin-x64': 1.0.0-beta.34 - '@rolldown/binding-freebsd-x64': 1.0.0-beta.34 - '@rolldown/binding-linux-arm-gnueabihf': 1.0.0-beta.34 - '@rolldown/binding-linux-arm64-gnu': 1.0.0-beta.34 - '@rolldown/binding-linux-arm64-musl': 1.0.0-beta.34 - '@rolldown/binding-linux-x64-gnu': 1.0.0-beta.34 - '@rolldown/binding-linux-x64-musl': 1.0.0-beta.34 - '@rolldown/binding-openharmony-arm64': 1.0.0-beta.34 - '@rolldown/binding-wasm32-wasi': 1.0.0-beta.34 - '@rolldown/binding-win32-arm64-msvc': 1.0.0-beta.34 - '@rolldown/binding-win32-ia32-msvc': 1.0.0-beta.34 - '@rolldown/binding-win32-x64-msvc': 1.0.0-beta.34 + '@rolldown/binding-android-arm64': 1.0.0-beta.46 + '@rolldown/binding-darwin-arm64': 1.0.0-beta.46 + '@rolldown/binding-darwin-x64': 1.0.0-beta.46 + '@rolldown/binding-freebsd-x64': 1.0.0-beta.46 + '@rolldown/binding-linux-arm-gnueabihf': 1.0.0-beta.46 + '@rolldown/binding-linux-arm64-gnu': 1.0.0-beta.46 + '@rolldown/binding-linux-arm64-musl': 1.0.0-beta.46 + '@rolldown/binding-linux-x64-gnu': 1.0.0-beta.46 + '@rolldown/binding-linux-x64-musl': 1.0.0-beta.46 + '@rolldown/binding-openharmony-arm64': 1.0.0-beta.46 + '@rolldown/binding-wasm32-wasi': 1.0.0-beta.46 + '@rolldown/binding-win32-arm64-msvc': 1.0.0-beta.46 + '@rolldown/binding-win32-ia32-msvc': 1.0.0-beta.46 + '@rolldown/binding-win32-x64-msvc': 1.0.0-beta.46 rollup@4.52.4: dependencies: @@ -16745,7 +16772,7 @@ snapshots: semver@6.3.1: {} - semver@7.7.2: {} + semver@7.7.3: {} send@0.19.0: dependencies: @@ -16961,7 +16988,7 @@ snapshots: esbuild: 0.25.0 esbuild-register: 3.6.0(esbuild@0.25.0) recast: 0.23.11 - semver: 7.7.2 + semver: 7.7.3 ws: 8.18.3 optionalDependencies: prettier: 3.6.2 @@ -17288,7 +17315,7 @@ snapshots: minimist: 1.2.8 strip-bom: 3.0.0 - tsdown@0.15.5(typescript@5.8.3): + tsdown@0.16.0(typescript@5.8.3): dependencies: ansis: 4.2.0 cac: 6.7.14 @@ -17297,9 +17324,9 @@ snapshots: diff: 8.0.2 empathic: 2.0.0 hookable: 5.5.3 - rolldown: 1.0.0-beta.34 - rolldown-plugin-dts: 0.16.11(rolldown@1.0.0-beta.34)(typescript@5.8.3) - semver: 7.7.2 + rolldown: 1.0.0-beta.46 + rolldown-plugin-dts: 0.17.8(rolldown@1.0.0-beta.46)(typescript@5.8.3) + semver: 7.7.3 tinyexec: 1.0.1 tinyglobby: 0.2.15 tree-kill: 1.2.2 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index d07f2a2a5..f84326482 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -32,7 +32,7 @@ catalog: react-router: 7.9.5 react: 18.3.1 swr: 2.2.4 - tsdown: 0.15.5 + tsdown: 0.16.0 typescript: 5.8.3 uuid: 13.0.0 vite: 7.1.11