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:41:39 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0ca6447033f530c0dfed5476596cc7dd49348df5
0ca64470
1 parent
fe99b453
update Router
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
front/src/Routes/Router.js
front/src/Routes/Router.js
View file @
0ca6447
...
...
@@ -2,13 +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/Channel
Container"
;
import
RoomList
from
"./Room/Room
Container"
;
import
Home
from
"../Components/Home"
;
import
OTOChat
from
"./OTOChat/OTOChatContainer"
;
const
LoggedInRoutes
=
()
=>
(
<>
<
Route
exact
path
=
"/"
component
=
{
Channel
List
}
/
>
<
Route
exact
path
=
"/"
component
=
{
Room
List
}
/
>
<
Route
path
=
"/OTOChat"
component
=
{
OTOChat
}
/
>
<
Route
path
=
"/RandomChat"
component
=
{
Home
}
/
>
<
Route
path
=
"/CategoryChat"
component
=
{
Home
}
/
>
...
...
Please
register
or
login
to post a comment