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/Input.js | |
parent | 0fa19d54799934b8f17c95939cb0722e06099327 (diff) |
New JSX transform
Diffstat (limited to 'vnext/src/ui/Input.js')
-rw-r--r-- | vnext/src/ui/Input.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/ui/Input.js b/vnext/src/ui/Input.js index e4fdefa0..2f01f0c6 100644 --- a/vnext/src/ui/Input.js +++ b/vnext/src/ui/Input.js @@ -1,4 +1,4 @@ -import React from 'react'; +import { memo } from 'react'; import './Input.css'; @@ -20,4 +20,4 @@ function Input({ name, value, ...rest }) { ); } -export default React.memo(Input); +export default memo(Input); |