merge and add single group view

This commit is contained in:
Maren Süwer
2018-07-31 15:09:45 +02:00
parent b832d744ed
commit 89618a1526
9 changed files with 375 additions and 32 deletions

View File

@@ -14,7 +14,8 @@ import AddUser from "../users/containers/AddUser";
import SingleUser from "../users/containers/SingleUser";
import Groups from "../groups/containers/Groups";
import AddGroup from "../groups/containers/AddGroup"
import SingleGroup from "../groups/containers/SingleGroup";
import AddGroup from "../groups/containers/AddGroup";
type Props = {
authenticated?: boolean
@@ -62,6 +63,11 @@ class Main extends React.Component<Props> {
component={Groups}
authenticated={authenticated}
/>
<ProtectedRoute
authenticated={authenticated}
path="/group/:name"
component={SingleGroup}
/>
<ProtectedRoute
authenticated={authenticated}
path="/groups/add"