diff --git a/Routes.js b/Routes.js index 2c5b685a4..906386057 100644 --- a/Routes.js +++ b/Routes.js @@ -1,4 +1,4 @@ -import Detail from "./src/forge/Main/Detail"; +import Detail from "./src/forge/Main/DetailAdaptor"; export default [ diff --git a/src/components/render-html.jsx b/src/components/render-html.jsx index e241ba2df..68c969e2d 100644 --- a/src/components/render-html.jsx +++ b/src/components/render-html.jsx @@ -1,5 +1,5 @@ import React, { useEffect, useRef, useMemo , useState } from 'react' -import 'katex/dist/katex.min.css'; +// import 'katex/dist/katex.min.css'; import marked, { getTocContent, cleanToc, getMathExpressions, resetMathExpressions } from '../common/marked'; import 'code-prettify'; import dompurify from 'dompurify'; diff --git a/src/modules/developer/quillEditor/index.js b/src/modules/developer/quillEditor/index.js index 6a54ea138..21fc055d5 100644 --- a/src/modules/developer/quillEditor/index.js +++ b/src/modules/developer/quillEditor/index.js @@ -11,7 +11,7 @@ // import 'quill/dist/quill.snow.css'; // import 'katex/dist/katex.css'; import './index.scss'; -import 'katex/dist/katex.min.css'; +// import 'katex/dist/katex.min.css'; import React from 'react'; import katex from 'katex'; const Quill = require('quill'); diff --git a/src/modules/tpm/TPMIndexHOC.js b/src/modules/tpm/TPMIndexHOC.js index 3f0ae26db..51a4b97db 100644 --- a/src/modules/tpm/TPMIndexHOC.js +++ b/src/modules/tpm/TPMIndexHOC.js @@ -17,7 +17,7 @@ export function TPMIndexHOC(WrappedComponent) { return class II extends React.Component { constructor(props) { super(props); - window.$('#root').css('position', 'relative'); + // window.$('#root').css('position', 'relative'); this.state = { tpmLoading: true,