fix: source map warning during build (#8148)

* [WEB-5473] fix: source map errors

* [WEB-5473] chore: run codemod

* fix: build errors in editor

---------

Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
Aaron 2025-11-21 15:13:52 +07:00 committed by GitHub
parent 9611cd1e73
commit 2e15e4f786
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
956 changed files with 778 additions and 2267 deletions

View file

@ -1,5 +1,3 @@
"use client";
import { redirect } from "react-router";
// plane imports
import { SitesProjectPublishService } from "@plane/services";

View file

@ -1,4 +1,3 @@
"use client";
import React from "react";
// Minimal shim so code using next/image compiles under React Router + Vite

View file

@ -1,4 +1,3 @@
"use client";
import React from "react";
import { Link as RRLink } from "react-router";
import { ensureTrailingSlash } from "./helper";

View file

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

View file

@ -1,4 +1,3 @@
"use client";
// ui
import { Button } from "@plane/propel/button";

View file

@ -1,5 +1,3 @@
"use client";
import { observer } from "mobx-react";
import { useParams, useSearchParams } from "next/navigation";
import useSWR from "swr";

View file

@ -1,4 +1,3 @@
"use client";
// assets
import SomethingWentWrongImage from "@/app/assets/something-went-wrong.svg?url";

View file

@ -1,4 +1,3 @@
"use client";
import { useEffect } from "react";
import { observer } from "mobx-react";
import { useSearchParams, useRouter } from "next/navigation";

View file

@ -1,5 +1,3 @@
"use client";
import { ThemeProvider } from "next-themes";
// components
import { TranslationProvider } from "@plane/i18n";