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/Button.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vnext/src/ui/Button.js') diff --git a/vnext/src/ui/Button.js b/vnext/src/ui/Button.js index 033c972c..62e772b9 100644 --- a/vnext/src/ui/Button.js +++ b/vnext/src/ui/Button.js @@ -1,4 +1,4 @@ -import React from 'react'; +import { memo } from 'react'; import './Button.css'; @@ -11,4 +11,4 @@ function Button(props) { ); } -export default React.memo(Button); +export default memo(Button); -- cgit v1.2.3