Note creator improvement #6
@ -29,7 +29,7 @@ export function extractLinks(fragments) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return <a href={url}>{url.toString()}</a>
|
return <a key={url} href={url}>{url.toString()}</a>
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn(`Not a valid url: ${a}`);
|
console.warn(`Not a valid url: ${a}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user