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/Spinner.js | |
parent | 0fa19d54799934b8f17c95939cb0722e06099327 (diff) |
New JSX transform
Diffstat (limited to 'vnext/src/ui/Spinner.js')
-rw-r--r-- | vnext/src/ui/Spinner.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/ui/Spinner.js b/vnext/src/ui/Spinner.js index e866369f..b5027c08 100644 --- a/vnext/src/ui/Spinner.js +++ b/vnext/src/ui/Spinner.js @@ -1,4 +1,4 @@ -import React from 'react'; +import { memo } from 'react'; import ContentLoader from 'react-content-loader'; function Spinner(props) { @@ -23,7 +23,7 @@ function Spinner(props) { ); } -export default React.memo(Spinner); +export default memo(Spinner); export function ChatSpinner(props) { return ( |