aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/Contact.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/ui/Contact.js')
-rw-r--r--vnext/src/ui/Contact.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/ui/Contact.js b/vnext/src/ui/Contact.js
index 9e6416bb..2d009738 100644
--- a/vnext/src/ui/Contact.js
+++ b/vnext/src/ui/Contact.js
@@ -1,4 +1,4 @@
-import React from 'react';
+import { memo } from 'react';
import Avatar from './Avatar';
@@ -21,4 +21,4 @@ function Contact({ user, style }) {
);
}
-export default React.memo(Contact);
+export default memo(Contact);