Skip to content

Commit 3f0ead4

Browse files
committed
refactor: change parsePathForTitle to a non-exported function
1 parent 15818b9 commit 3f0ead4

File tree

1 file changed

+1
-1
lines changed
  • packages/web/src/app/[domain]/browse/[...path]

1 file changed

+1
-1
lines changed

packages/web/src/app/[domain]/browse/[...path]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { Metadata } from "next";
1515
* @param path The array of path segments from Next.js params.
1616
* @returns A formatted title string.
1717
*/
18-
export const parsePathForTitle = (path: string[]): string => {
18+
const parsePathForTitle = (path: string[]): string => {
1919
const pathParam = path.join('/');
2020

2121
const { repoName, revisionName, path: filePath, pathType } = getBrowseParamsFromPathParam(pathParam);

0 commit comments

Comments
 (0)