mirror of
https://github.com/bendtherules/completion-viz.git
synced 2026-08-18 13:42:51 +00:00
Refactor - Move some files into src/logic and src/types
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import Highlight, { defaultProps } from "prism-react-renderer";
|
import Highlight, { defaultProps } from "prism-react-renderer";
|
||||||
|
|
||||||
import { sourceMapping } from "./sourceMapping";
|
import { sourceMapping } from "./logic/sourceMapping";
|
||||||
|
|
||||||
import "./tailwind.output.css";
|
import "./tailwind.output.css";
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ import ReactDOM from 'react-dom';
|
|||||||
import './index.css';
|
import './index.css';
|
||||||
import App from './App';
|
import App from './App';
|
||||||
import * as serviceWorker from './serviceWorker';
|
import * as serviceWorker from './serviceWorker';
|
||||||
import { sourceMapping } from './sourceMapping';
|
import { sourceMapping } from './logic/sourceMapping';
|
||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
<React.StrictMode>
|
<React.StrictMode>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Token } from "./prism-types";
|
import { Token } from "../types/prism-types";
|
||||||
|
|
||||||
interface TMappingELement {
|
interface TMappingELement {
|
||||||
start: number;
|
start: number;
|
||||||
Reference in New Issue
Block a user