Fix type issue on buildFolderPath

This commit is contained in:
carlosmonastyrski
2025-03-27 16:45:33 -03:00
parent a5f198a3d5
commit 2f4c42482d
@@ -5,7 +5,7 @@ export const buildFolderPath = (
foldersMap: Record<string, TSecretFolders>, foldersMap: Record<string, TSecretFolders>,
depth: number = 0 depth: number = 0
): string => { ): string => {
if (depth > 20) return; if (depth > 20) return "";
if (!folder.parentId) { if (!folder.parentId) {
return depth === 0 ? "/" : ""; return depth === 0 ? "/" : "";
} }