Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: docker build (#7220)

Prateek Shourya75f89c4c12f3
diff --git a/packages/constants/src/auth.ts b/packages/constants/src/auth.ts
index 01ed762ff6..1b6cb9111a 100644
--- a/packages/constants/src/auth.ts
+++ b/packages/constants/src/auth.ts
@@ -71,10 +71,9 @@ export type TAuthErrorInfo = {
type: EErrorAlertType;
code: EAuthErrorCodes;
title: string;
- message: React.ReactNode;
+ message: any;
};
-
export enum EAdminAuthErrorCodes {
// Admin
ADMIN_ALREADY_EXIST = "5150",
@@ -92,7 +91,7 @@ export type TAdminAuthErrorInfo = {
type: EErrorAlertType;
code: EAdminAuthErrorCodes;
title: string;
- message: React.ReactNode;
+ message: any;
};
export enum EAuthErrorCodes {
diff --git a/packages/utils/src/router.ts b/packages/utils/src/router.ts
index 4b795e7e2a..e9355de9f1 100644
--- a/packages/utils/src/router.ts
+++ b/packages/utils/src/router.ts
@@ -1,9 +1,8 @@
-import { ReadonlyURLSearchParams } from "next/navigation";
-
-export const generateQueryParams = (searchParams: ReadonlyURLSearchParams, excludedParamKeys?: string[]): string => {
+export const generateQueryParams = (searchParams: URLSearchParams, excludedParamKeys?: string[]): string => {
const params = new URLSearchParams(searchParams);
- excludedParamKeys && excludedParamKeys.forEach((key) => {
- params.delete(key);
- });
+ excludedParamKeys &&
+ excludedParamKeys.forEach((key) => {
+ params.delete(key);
+ });
return params.toString();
};