Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
changed require() to import
Browse files Browse the repository at this point in the history
  • Loading branch information
akissinger committed Sep 24, 2020
1 parent b6ba821 commit ccd96da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/HtmlUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

require('katex/dist/katex.min.css');

import React from 'react';
import sanitizeHtml from 'sanitize-html';
import * as linkify from 'linkifyjs';
Expand All @@ -29,6 +27,7 @@ import classNames from 'classnames';
import EMOJIBASE_REGEX from 'emojibase-regex';
import url from 'url';
import katex from 'katex';
import 'katex/dist/katex.min.css';
import { AllHtmlEntities } from 'html-entities';
import SdkConfig from './SdkConfig';

Expand Down

0 comments on commit ccd96da

Please sign in to comment.