From fbf01fe1c1fa00ea23b18f8bc602ccb4f0691a04 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 15 Oct 2020 22:12:21 +0300 Subject: New JSX transform --- vnext/src/ui/Contact.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vnext/src/ui/Contact.js') 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); -- cgit v1.2.3