mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-22 03:47:09 +00:00
update dep
This commit is contained in:
@@ -24,7 +24,6 @@
|
|||||||
"MD5": "^1.3.0",
|
"MD5": "^1.3.0",
|
||||||
"moment": "^2.22.2",
|
"moment": "^2.22.2",
|
||||||
"object-assign": "4.1.1",
|
"object-assign": "4.1.1",
|
||||||
"prismjs": "1.23.0",
|
|
||||||
"prop-types": "15.8.1",
|
"prop-types": "15.8.1",
|
||||||
"qrcode.react": "^1.0.1",
|
"qrcode.react": "^1.0.1",
|
||||||
"react": "17.0.0",
|
"react": "17.0.0",
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Prism from 'prismjs';
|
|
||||||
import { MarkdownViewer } from '@seafile/seafile-editor';
|
import { MarkdownViewer } from '@seafile/seafile-editor';
|
||||||
import Loading from '../../components/loading';
|
import Loading from '../../components/loading';
|
||||||
import { mediaUrl } from '../../utils/constants';
|
import { mediaUrl } from '../../utils/constants';
|
||||||
@@ -14,10 +13,6 @@ const propTypes = {
|
|||||||
|
|
||||||
class MainPanel extends React.Component {
|
class MainPanel extends React.Component {
|
||||||
|
|
||||||
componentDidMount() {
|
|
||||||
Prism.highlightAll();
|
|
||||||
}
|
|
||||||
|
|
||||||
onSearchedClick = () => {
|
onSearchedClick = () => {
|
||||||
//todos;
|
//todos;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user