chore: format files using prettier (#7364)
* chore: format files using prettier * chore: api server files formatted
This commit is contained in:
parent
0225d806cc
commit
6ce700fd5d
149 changed files with 1518 additions and 919 deletions
|
|
@ -319,7 +319,6 @@ export const copyTextToClipboard = async (text: string): Promise<void> => {
|
|||
await navigator.clipboard.writeText(text);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @description Joins URL path segments properly, removing duplicate slashes using URL encoding
|
||||
* @param {...string} segments - URL path segments to join
|
||||
|
|
@ -371,4 +370,4 @@ export const joinUrlPath = (...segments: string[]): string => {
|
|||
const pathParts = joined.split("/").filter((part) => part !== "");
|
||||
return pathParts.length > 0 ? `/${pathParts.join("/")}` : "";
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue