aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/ui/PM.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/ui/PM.js')
-rw-r--r--vnext/src/ui/PM.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/ui/PM.js b/vnext/src/ui/PM.js
index 9903b4e5..8885153d 100644
--- a/vnext/src/ui/PM.js
+++ b/vnext/src/ui/PM.js
@@ -1,4 +1,4 @@
-import React from 'react';
+import { memo } from 'react';
import Avatar from './Avatar';
import { format } from '../utils/embed';
@@ -18,7 +18,7 @@ function PM(props) {
);
}
-export default React.memo(PM);
+export default memo(PM);
/*
PM.propTypes = {
chat: MessageType.isRequired,