From 9013ea38ca549245442ef18aac199f9431973b60 Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Wed, 20 Feb 2019 23:36:30 +0300
Subject: Refactor memo components
---
vnext/src/components/Avatar.js | 9 ---------
1 file changed, 9 deletions(-)
(limited to 'vnext/src/components/Avatar.js')
diff --git a/vnext/src/components/Avatar.js b/vnext/src/components/Avatar.js
index 660847f2..6e56cfc2 100644
--- a/vnext/src/components/Avatar.js
+++ b/vnext/src/components/Avatar.js
@@ -66,15 +66,6 @@ class Avatar extends React.Component {
export default Avatar;
-export const AvatarLink = React.memo(props => {
- return (
-
-
- {props.user.uname}
-
- );
-});
-
Avatar.propTypes = {
user: UserType,
link: PropTypes.string,
--
cgit v1.2.3