diff options
author | Vitaly Takmazov | 2020-10-15 22:12:21 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:55 +0300 |
commit | fbf01fe1c1fa00ea23b18f8bc602ccb4f0691a04 (patch) | |
tree | 0e8880ac24af30dd884acc7d13f388f0af303971 /vnext/src/ui/Button.js | |
parent | 0fa19d54799934b8f17c95939cb0722e06099327 (diff) |
New JSX transform
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); |