Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-07-18 14:58:09 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
519727f9006be91c605c866c62a3afc44769ba80
519727f9
1 parent
9de3e874
add route
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
front/src/Routes/Router.js
front/src/Routes/Router.js
View file @
519727f
...
...
@@ -3,7 +3,7 @@ import PropTypes from "prop-types";
import
{
Route
,
Switch
}
from
"react-router-dom"
;
import
Auth
from
"./Auth/AuthContainer"
;
import
RoomList
from
"./Room/RoomContainer"
;
import
Main
from
"./Main
/Main
Presenter"
;
import
Main
from
"./MainPresenter"
;
const
LoggedInRoutes
=
()
=>
(
<
Switch
>
...
...
@@ -14,6 +14,7 @@ const LoggedInRoutes = () => (
const
LoggedOutRoutes
=
()
=>
(
<
Switch
>
<
Route
exact
path
=
"/auth"
component
=
{
Auth
}
/
>
<
Route
exact
path
=
"/forum"
component
=
{
Main
}
/
>
<
Route
exact
path
=
"/about"
component
=
{
Main
}
/
>
<
Route
exact
path
=
"/features"
component
=
{
Main
}
/
>
<
Route
exact
path
=
"/support"
component
=
{
Main
}
/
>
...
...
Please
register
or
login
to post a comment