mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 14:35:45 +01:00
Implemented Profile component
This commit is contained in:
@@ -19,6 +19,7 @@ import SingleGroup from "../groups/containers/SingleGroup";
|
||||
import AddGroup from "../groups/containers/AddGroup";
|
||||
|
||||
import Config from "../config/containers/Config";
|
||||
import Profile from "../users/containers/Profile";
|
||||
|
||||
type Props = {
|
||||
authenticated?: boolean
|
||||
@@ -106,6 +107,12 @@ class Main extends React.Component<Props> {
|
||||
component={Config}
|
||||
authenticated={authenticated}
|
||||
/>
|
||||
<ProtectedRoute
|
||||
exact
|
||||
path="/me"
|
||||
component={Profile}
|
||||
authenticated={authenticated}
|
||||
/>
|
||||
</Switch>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user