diff --git a/src/forge/Main/Index.js b/src/forge/Main/Index.js index f968f14b..64a55ed2 100644 --- a/src/forge/Main/Index.js +++ b/src/forge/Main/Index.js @@ -1,7 +1,7 @@ import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import { Menu, Input , Spin, Pagination , Popover , Select } from 'antd'; -import { getUrl } from 'educoder'; +import { getImageUrl } from 'educoder'; import '../css/index.scss' import './list.css'; import './Index.scss'; @@ -271,7 +271,7 @@ class Index extends Component { return(
this.getoDetail(item.author && item.author.login,item.identifier)}>
- +

{item.name}

{item.author && item.author.name}

diff --git a/src/forge/Main/IndexItem.js b/src/forge/Main/IndexItem.js index a7ea04aa..b3ac2a50 100644 --- a/src/forge/Main/IndexItem.js +++ b/src/forge/Main/IndexItem.js @@ -28,7 +28,7 @@ class IndexItem extends Component { : - + }