Use a fork of autolinker with react support to get rid off dangerouslySetInnerHTML
This commit is contained in:
parent
072daa64f2
commit
47ebd9c84c
6 changed files with 44 additions and 27 deletions
|
@ -1,6 +1,7 @@
|
|||
import padStart from 'lodash/padStart';
|
||||
|
||||
export messageHeight from './messageHeight';
|
||||
export linkify from './linkify.js';
|
||||
|
||||
export function normalizeChannel(channel) {
|
||||
if (channel.indexOf('#') !== 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue