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-06-15 15:01:32 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4ca03ba65a05de8dd9110fec89f88b11dea6c0d7
4ca03ba6
1 parent
7a914205
change route component
Show 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 @
4ca03ba
...
...
@@ -9,8 +9,8 @@ const LoggedInRoutes = () => (
<
Switch
>
<
Route
exact
path
=
"/"
component
=
{
RoomList
}
/
>
<
Route
exact
path
=
"/:roomname"
component
=
{
Chat
}
/
>
<
Route
path
=
"/:roomname/People"
component
=
{
Auth
}
/
>
<
Route
path
=
"/:roomname/:categoryName"
component
=
{
Auth
}
/
>
<
Route
path
=
"/:roomname/People"
component
=
{
Chat
}
/
>
<
Route
path
=
"/:roomname/:categoryName"
component
=
{
Chat
}
/
>
<
Redirect
from
=
"*"
to
=
"/"
/>
<
/Switch
>
);
...
...
Please
register
or
login
to post a comment