aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/page
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-01-17 16:26:04 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-01-17 16:26:04 +0100
commit1b3f4ea79f947558573fbce5a2e2d0c2c5dd6a8d (patch)
tree52a41cbd31a69de31edf83578e3055d076fa1c3e /src/client/react/components/page
parentc0aa588bc8f85b13b5a55ccd6cdf11bf99048a1c (diff)
Add view code
Diffstat (limited to 'src/client/react/components/page')
-rw-r--r--src/client/react/components/page/User.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/react/components/page/User.js b/src/client/react/components/page/User.js
index 2ad65a6..ea8cd10 100644
--- a/src/client/react/components/page/User.js
+++ b/src/client/react/components/page/User.js
@@ -2,6 +2,7 @@ import React from 'react';
import PropTypes from 'prop-types';
import { Redirect } from 'react-router-dom';
import Search from '../container/Search';
+import View from '../container/View';
import users from '../../users';
const App = ({ match }) => {
@@ -15,6 +16,7 @@ const App = ({ match }) => {
return (
<div>
<Search urlUser={user} />
+ <View user={user} />
</div>
);
};