diff --git a/src/App.js b/src/App.js index c3bc33f..f366d50 100644 --- a/src/App.js +++ b/src/App.js @@ -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; diff --git a/src/components/EditorControls.js b/src/components/EditorControls.js index 9c8d283..dea3f9a 100644 --- a/src/components/EditorControls.js +++ b/src/components/EditorControls.js @@ -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({ diff --git a/src/components/EditorTextArea.js b/src/components/EditorTextArea.js index 2892966..993b34d 100644 --- a/src/components/EditorTextArea.js +++ b/src/components/EditorTextArea.js @@ -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);