Skip to content

Commit

Permalink
correct link in data entries
Browse files Browse the repository at this point in the history
  • Loading branch information
Monobladegg committed Aug 12, 2024
1 parent e448fb6 commit a3648d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/lib/processKeys/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const processKeys = (key: string, value: string): { processedKey: string, proces
if (patterns.some(pattern => pattern.test(key))) {
switch (type) {
case 'accounts':
processedValue = `<a href="/public/${decodedValue}">${decodedValue}</a>`;
processedValue = `<a href="/public/account?id=${decodedValue}">${decodedValue}</a>`;
break;
case 'links':
processedValue = `<a href="${decodedValue}">${decodedValue}</a>`;
Expand Down

0 comments on commit a3648d8

Please sign in to comment.