diff --git a/web/src/lib/basePath.ts b/web/src/lib/basePath.ts
index f4c21caa3..b5be84182 100644
--- a/web/src/lib/basePath.ts
+++ b/web/src/lib/basePath.ts
@@ -7,7 +7,7 @@ export const BASE_PATH = process.env.NEXT_PUBLIC_BASE_PATH || "";
/**
* Create a URL with the basePath prepended
* Useful for internal navigation links
- *
+ *
* @param path - The path relative to the app root (e.g., "/contribute")
* @returns The path with basePath prepended (e.g., "/frontend/v2/contribute")
*/
@@ -16,16 +16,16 @@ export function withBasePath(path: string): string {
if (path.startsWith("http://") || path.startsWith("https://") || path.startsWith("mailto:") || path.startsWith("tel:")) {
return path;
}
-
+
// Don't modify hash-only links
if (path.startsWith("#")) {
return path;
}
-
+
// Prepend basePath to internal paths
if (BASE_PATH && !path.startsWith(BASE_PATH)) {
return `${BASE_PATH}${path}`;
}
-
+
return path;
}