diff --git a/public/react/src/components/mini-pagination/index.jsx b/public/react/src/components/mini-pagination/index.jsx index 5a940ad68..1caa65973 100644 --- a/public/react/src/components/mini-pagination/index.jsx +++ b/public/react/src/components/mini-pagination/index.jsx @@ -24,8 +24,8 @@ export default ({ current, defaultCurrent, total, pageSize, onChange = noop }) = return (
) diff --git a/public/react/src/modules/home/shixunsHome.js b/public/react/src/modules/home/shixunsHome.js index fa96cab54..e1e2eb8b3 100644 --- a/public/react/src/modules/home/shixunsHome.js +++ b/public/react/src/modules/home/shixunsHome.js @@ -1,19 +1,10 @@ import React, { Component } from 'react'; - - import { Link } from "react-router-dom"; - import axios from 'axios'; - import TPMIndexHOC from '../tpm/TPMIndexHOC'; - - import UpgradeModals from '../modals/UpgradeModals'; - import { SnackbarHOC, getImageUrl, configShareForIndex } from 'educoder'; - import './home.css'; - import { Tooltip, Spin, Slider, Rate } from 'antd'; const $ = window.$; @@ -246,7 +237,7 @@ class ShixunsHome extends Component { {homedatalist === undefined ? "" : homedatalist.subjects.map((item, key) => { if (key < 8) return ( -