params in url + error boundary

This commit is contained in:
Primakov Alexandr Alexandrovich
2024-10-24 20:04:54 +03:00
parent c28721b1f4
commit b631206c44
14 changed files with 337 additions and 13 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ export const URLs = {
profile: {
isOn: Boolean(getNavigationsValue("link.nav1.profile")),
url: `${baseUrl}${getNavigationsValue("link.nav1.profile")}`,
getUrl() {
return this.url;
getUrl(userId: string, projectId: string) {
return generatePath(this.url, { userId, projectId });
},
},
about: {