aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Contact.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-06 01:32:43 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit7f25b0f261b5a5fc2696054004fb24673375b91b (patch)
tree38ee591e176b4799e39eff7a16f1950e017e7bb4 /vnext/src/components/Contact.js
parent88732ba8c06c23a93f7248b6eabc182f38be3d33 (diff)
Proptypes & eslint
Diffstat (limited to 'vnext/src/components/Contact.js')
-rw-r--r--vnext/src/components/Contact.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/vnext/src/components/Contact.js b/vnext/src/components/Contact.js
index 0e969cc1..01dd1ae6 100644
--- a/vnext/src/components/Contact.js
+++ b/vnext/src/components/Contact.js
@@ -1,4 +1,5 @@
import React from 'react';
+import { UserType } from './Types';
import Avatar from './Avatar';
@@ -14,3 +15,7 @@ export default class Contact extends React.Component {
);
}
}
+
+Contact.propTypes = {
+ user: UserType
+};