Files
plane/packages/utils/src/router.ts
Prateek Shourya 75f89c4c12 fix: docker build (#7220)
* fix: docker build

* fix: build
2025-06-17 14:08:50 +05:30

9 lines
291 B
TypeScript

export const generateQueryParams = (searchParams: URLSearchParams, excludedParamKeys?: string[]): string => {
const params = new URLSearchParams(searchParams);
excludedParamKeys &&
excludedParamKeys.forEach((key) => {
params.delete(key);
});
return params.toString();
};