From 7976aace00e56cec3dd8d9449f905e7028906548 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Tue, 12 Sep 2017 22:46:24 +0700 Subject: [PATCH] Typo --- client/coral-admin/src/components/CommentBodyHighlighter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/coral-admin/src/components/CommentBodyHighlighter.js b/client/coral-admin/src/components/CommentBodyHighlighter.js index 055d24822..3b735f9ce 100644 --- a/client/coral-admin/src/components/CommentBodyHighlighter.js +++ b/client/coral-admin/src/components/CommentBodyHighlighter.js @@ -1,12 +1,12 @@ import React from 'react'; import {matchLinks} from '../utils'; -const wordSeperator = /([.\s'"?!])/; +const wordSeparator = /([.\s'"?!])/; // markWords looks for `words` inside `body` and highlights them by returning // an array of React Elements. function markWords(body, words, keyPrefix) { - const tokens = body.split(wordSeperator); + const tokens = body.split(wordSeparator); const content = []; let tmp = []; tokens.forEach((token, i) => {