mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
refactor: change parsePathForTitle to a non-exported function
This commit is contained in:
parent
15818b9cad
commit
3f0ead4821
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ import { Metadata } from "next";
|
|||
* @param path The array of path segments from Next.js params.
|
||||
* @returns A formatted title string.
|
||||
*/
|
||||
export const parsePathForTitle = (path: string[]): string => {
|
||||
const parsePathForTitle = (path: string[]): string => {
|
||||
const pathParam = path.join('/');
|
||||
|
||||
const { repoName, revisionName, path: filePath, pathType } = getBrowseParamsFromPathParam(pathParam);
|
||||
|
|
|
|||
Loading…
Reference in a new issue