aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/Spinner.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/ui/Spinner.js')
-rw-r--r--vnext/src/ui/Spinner.js4
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 (