fix imports
This commit is contained in:
@@ -5,7 +5,7 @@ import history from 'history/browser';
|
||||
import copy from 'copy-to-clipboard';
|
||||
|
||||
import { MenuButton, Button } from './Menu';
|
||||
import { languageIds } from '../highlighting';
|
||||
import { languageIds } from '../util/highlighting';
|
||||
import themes from '../style/themes';
|
||||
|
||||
export default function EditorControls({
|
||||
|
||||
@@ -2,7 +2,7 @@ import { useRef } from 'react';
|
||||
import styled from 'styled-components';
|
||||
import ReactEditor from 'react-simple-code-editor';
|
||||
import EditorPrismStyle from './EditorPrismStyle';
|
||||
import { getHighlighter } from '../highlighting';
|
||||
import { getHighlighter } from '../util/highlighting';
|
||||
|
||||
export default function EditorTextArea({ code, setCode, language, fontSize }) {
|
||||
const highlight = getHighlighter(language);
|
||||
|
||||
Reference in New Issue
Block a user