From be317a463e9a26afadd7a41d4c89ce411e85502e Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Fri, 31 Jul 2020 14:04:50 -0700 Subject: [PATCH] interface: fixed uxToHex bug --- pkg/interface/src/apps/chat/components/lib/chat-input.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/interface/src/apps/chat/components/lib/chat-input.js b/pkg/interface/src/apps/chat/components/lib/chat-input.js index 342e5935b..e93d0790c 100644 --- a/pkg/interface/src/apps/chat/components/lib/chat-input.js +++ b/pkg/interface/src/apps/chat/components/lib/chat-input.js @@ -2,6 +2,8 @@ import React, { Component } from 'react'; import { Sigil } from '../../../../lib/sigil'; import ChatEditor from './chat-editor'; import { S3Upload } from './s3-upload'; +import { uxToHex } from '../../../../lib/util'; + const URL_REGEX = new RegExp(String(/^((\w+:\/\/)[-a-zA-Z0-9:@;?&=\/%\+\.\*!'\(\),\$_\{\}\^~\[\]`#|]+)/.source));