+
+ Profile Sheet
+
+
+
+
+ )
+ }
+}
+
+export default compose(
+ graphql(getRolesQuery, {name: 'getRolesQuery'}),
+ graphql(updateUserMutation, {name: 'updateUserMutation'}),
+ withStyles(styles)
+)(UserReferrals) // This technique binds more than one query to a single component.
diff --git a/client/src/components/UserTabs.js b/client/src/components/UserTabs.js
index 3722275a8..aed915c0b 100644
--- a/client/src/components/UserTabs.js
+++ b/client/src/components/UserTabs.js
@@ -6,12 +6,14 @@ import Tabs from '@material-ui/core/Tabs';
import Tab from '@material-ui/core/Tab';
import UpdateIcon from '@material-ui/icons/Create';
import ImageIcon from '@material-ui/icons/Wallpaper';
+import ReferralsIcon from '@material-ui/icons/DeviceHub';
import Typography from '@material-ui/core/Typography';
// Components
import UserUpdate from './UserUpdate';
import UserImages from './UserImages';
+import UserReferrals from './UserReferrals';
function TabContainer(props) {
return (
@@ -61,10 +63,12 @@ class UserTabs extends React.Component {
>