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-08-05 15:23:10 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
eb6ffb24bd95f0ddc1092290a8feb9a00beabb12
eb6ffb24
1 parent
de9a9131
remove roomlist and add main
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
front/src/Routes/Router.js
front/src/Routes/Router.js
View file @
eb6ffb2
...
...
@@ -3,7 +3,6 @@ import PropTypes from "prop-types";
import
{
Route
,
Switch
}
from
"react-router-dom"
;
import
Auth
from
"./Auth/AuthContainer"
;
import
About
from
"./About"
;
import
RoomList
from
"./Room/RoomContainer"
;
import
Main
from
"./MainPresenter"
;
import
Forum
from
"./Forum/ForumPresenter"
;
import
Features
from
"./Features"
;
...
...
@@ -12,7 +11,7 @@ import Chat from "./Chat/ChatContainer";
const
LoggedInRoutes
=
()
=>
(
<
Switch
>
<
Route
path
=
"/roomlist"
component
=
{
RoomList
}
/
>
<
Route
exact
path
=
"/"
component
=
{
Main
}
/
>
<
Route
path
=
"/chat"
component
=
{
Chat
}
/
>
<
/Switch
>
);
...
...
Please
register
or
login
to post a comment