diff --git a/packages/app/src/components/FollowButton/index.jsx b/packages/app/src/components/FollowButton/index.jsx index 403544a3..431555cc 100755 --- a/packages/app/src/components/FollowButton/index.jsx +++ b/packages/app/src/components/FollowButton/index.jsx @@ -1,26 +1,28 @@ -import React from "react" import { Button } from "antd" import classnames from "classnames" import "./index.less" -export default (props) => { - return
-
- {props.count} - {props.self && " Followers"} -
- { - !props.self && - } -
+const FollowButton = (props) => { + return ( +
+
+ {props.count} + {props.self && " Followers"} +
+ {!props.self && ( + + )} +
+ ) } + +export default FollowButton