diff options
Diffstat (limited to 'vnext/src/ui/Button.js')
-rw-r--r-- | vnext/src/ui/Button.js | 4 |
1 files changed, 2 insertions, 2 deletions
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); |