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-05-17 17:47:40 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
762cc9355faa6821eb377d917f9f0a9cc19b85e0
762cc935
1 parent
18aaad86
add new Routes
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
front/src/Routes/Router.js
front/src/Routes/Router.js
View file @
762cc93
...
...
@@ -3,14 +3,15 @@ import PropTypes from "prop-types";
import
{
BrowserRouter
as
Router
,
Route
,
Switch
}
from
"react-router-dom"
;
import
Auth
from
"./Auth/AuthContainer"
;
import
Home
from
"../Components/Home"
;
import
OTOChat
from
"./OTOChat/OTOChatContainer"
;
const
LoggedInRoutes
=
()
=>
(
<>
<
Route
exact
path
=
"/
"
component
=
{
Home
}
/
>
<
Route
exact
path
=
"/OTOChat"
component
=
{
Home
}
/
>
<
Route
exact
path
=
"/RandomChat"
component
=
{
Home
}
/
>
<
Route
exact
path
=
"/CategoryChat"
component
=
{
Home
}
/
>
<
Route
exact
path
=
"/Profile"
component
=
{
Home
}
/
>
<
Route
path
=
"/Home
"
component
=
{
Home
}
/
>
<
Route
path
=
"/OTOChat"
component
=
{
OTOChat
}
/
>
<
Route
path
=
"/RandomChat"
component
=
{
Home
}
/
>
<
Route
path
=
"/CategoryChat"
component
=
{
Home
}
/
>
<
Route
path
=
"/Profile"
component
=
{
Home
}
/
>
<
/
>
);
...
...
Please
register
or
login
to post a comment