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-20 01:14:59 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
619de020f874ff74bad75616f8f900ffeea8e9b8
619de020
1 parent
115c5f27
update root route component
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 @
619de02
...
...
@@ -2,12 +2,13 @@ import React from "react";
import
PropTypes
from
"prop-types"
;
import
{
BrowserRouter
as
Router
,
Route
,
Switch
}
from
"react-router-dom"
;
import
Auth
from
"./Auth/AuthContainer"
;
import
ChannelList
from
"./Channel/ChannelContainer"
;
import
Home
from
"../Components/Home"
;
import
OTOChat
from
"./OTOChat/OTOChatContainer"
;
const
LoggedInRoutes
=
()
=>
(
<>
<
Route
exact
path
=
"/"
component
=
{
Home
}
/
>
<
Route
exact
path
=
"/"
component
=
{
ChannelList
}
/
>
<
Route
path
=
"/OTOChat"
component
=
{
OTOChat
}
/
>
<
Route
path
=
"/RandomChat"
component
=
{
Home
}
/
>
<
Route
path
=
"/CategoryChat"
component
=
{
Home
}
/
>
...
...
Please
register
or
login
to post a comment