diff --git a/src/forge/Main/Index.js b/src/forge/Main/Index.js
index d127775d..ade074a0 100644
--- a/src/forge/Main/Index.js
+++ b/src/forge/Main/Index.js
@@ -243,8 +243,7 @@ class Index extends Component {
render() {
const { current_user } = this.props;
- const { projectsList , recommendList , languageList , languageId ,
- isSpin, total, search, limit, page, typeList, categoryList } = this.state;
+ const { projectsList , isSpin , total , search , limit , page , typeList , categoryList } = this.state;
return (
diff --git a/src/forge/users/Infos.js b/src/forge/users/Infos.js
index 6b8ea202..e582e369 100644
--- a/src/forge/users/Infos.js
+++ b/src/forge/users/Infos.js
@@ -1,5 +1,4 @@
import React, { Component } from "react";
-import { Link } from "react-router-dom";
import { Avatar, Tag, Button, Spin } from "antd";
import FocusButton from "../UsersList/focus_button";
@@ -138,7 +137,6 @@ class Infos extends Component {
render() {
- const extra_http = `${document.location.protocol}//${document.domain}`;
const { current_user, mygetHelmetapi } = this.props;
const { username } = this.props.match.params;
@@ -169,7 +167,7 @@ class Infos extends Component {