fix imports
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
import Editor from './components/Editor';
|
||||
import parseContentType from 'content-type-parser';
|
||||
import { languageIds } from './highlighting';
|
||||
import { languageIds } from './util/highlighting';
|
||||
|
||||
function getPasteIdFromUrl() {
|
||||
const path = window.location.pathname;
|
||||
|
||||
@@ -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