aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/UserInfo.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-10-15 22:12:21 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commitfbf01fe1c1fa00ea23b18f8bc602ccb4f0691a04 (patch)
tree0e8880ac24af30dd884acc7d13f388f0af303971 /vnext/src/ui/UserInfo.js
parent0fa19d54799934b8f17c95939cb0722e06099327 (diff)
New JSX transform
Diffstat (limited to 'vnext/src/ui/UserInfo.js')
-rw-r--r--vnext/src/ui/UserInfo.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/ui/UserInfo.js b/vnext/src/ui/UserInfo.js
index f44fb77c..cb6ad792 100644
--- a/vnext/src/ui/UserInfo.js
+++ b/vnext/src/ui/UserInfo.js
@@ -1,4 +1,4 @@
-import React, { useState, useEffect, useRef } from 'react';
+import { memo, useState, useEffect, useRef } from 'react';
import { Link } from 'react-router-dom';
import { info, fetchUserUri, update } from '../api';
@@ -87,7 +87,7 @@ function Summary({ user }) {
);
}
-const UserSummary = React.memo(Summary);
+const UserSummary = memo(Summary);
/**