Skip to content

Commit

Permalink
feat: deal packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Erindcl committed Jul 23, 2020
1 parent 6ba3537 commit 3acbab8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
"author": "dt-insight-front",
"license": "ISC",
"dependencies": {
"antd": "3.26.13",
"antd": "3.26.13"
},
"devDependencies": {
"@babel/runtime": "^7.4.4",
"bisheng": "^1.2.4",
"bisheng-plugin-antd": "^1.0.1",
"bisheng-plugin-react": "^1.0.0",
"bisheng-plugin-toc": "^0.4.4",
"moment": "^2.24.0"
},
"devDependencies": {
"@babel/runtime": "^7.4.4",
"cross-env": "^5.2.0",
"file-loader": "^6.0.0",
"intersection-observer": "^0.7.0",
"lz-string": "^1.4.4",
"moment": "^2.24.0",
"react-copy-to-clipboard": "^5.0.1",
"react-intl": "^2.9.0",
"rimraf": "^2.6.3",
Expand Down
8 changes: 3 additions & 5 deletions theme/template/Home/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import {injectIntl} from 'react-intl';
import DocumentTitle from 'react-document-title';
import PropTypes from 'prop-types';
import Footer from '../Layout/Footer';
// import Footer from '../Layout/Footer';

// To store style which is only for Home and has conflicts with others.
function getStyle() {
Expand All @@ -12,10 +12,8 @@ function getStyle() {
}
#header {
box-shadow: none;
max-width: 1200px;
width: 100%;
margin: 20px auto 0;
padding: 0 24px;
padding: 0 50px;
}
#header,
#header .ant-select-selection,
Expand Down Expand Up @@ -68,7 +66,7 @@ class Home extends React.Component {
<div>
<style dangerouslySetInnerHTML={{__html: getStyle()}}/>
{/* eslint-disable-line */}
<Footer/>
{/* <Footer/> */}
</div>
</DocumentTitle>
);
Expand Down

0 comments on commit 3acbab8

Please sign in to comment.