feat: wip

This commit is contained in:
David Nguyen
2023-12-27 16:05:05 +11:00
parent f4309c1c83
commit ca703fc221
9 changed files with 14 additions and 13 deletions

View File

@ -5,3 +5,7 @@ export const formatTeamUrl = (teamUrl: string, baseUrl?: string) => {
return `${formattedBaseUrl}/t/${teamUrl}`;
};
export const formatDocumentsPath = (teamUrl?: string) => {
return teamUrl ? `/t/${teamUrl}/documents` : '/documents';
};