We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06d3838 commit 0fc4777Copy full SHA for 0fc4777
web-ui/src/components/kudos/PublicKudosCard.jsx
@@ -124,7 +124,7 @@ const KudosCard = ({ kudos }) => {
124
return names;
125
};
126
127
- const linkSlackUrls = (textLine) => {
+ const linkSlackUrls = textLine => {
128
// Regex to find <url> or <url|text>
129
// Group 1: URL
130
// Group 2: Optional Link Text (undefined if not present)
@@ -168,7 +168,7 @@ const KudosCard = ({ kudos }) => {
168
169
// If no links were found at all, return the original line in an array
170
if (components.length === 0) {
171
- return [textLine];
+ return [textLine];
172
}
173
174
return components;
0 commit comments