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:30 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fe99b453db2faea3ce0074afea07b3de748815a1
fe99b453
1 parent
911c537e
rename files
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
front/src/Components/ChannelList.js → front/src/Components/RoomList.js
front/src/Routes/Channel/ChannelContainer.js → front/src/Routes/Room/RoomContainer.js
front/src/Routes/Channel/ChannelPresenter.js → front/src/Routes/Room/RoomPresenter.js
front/src/Components/
Channel
List.js
→
front/src/Components/
Room
List.js
View file @
fe99b45
File moved
front/src/Routes/
Channel/Channel
Container.js
→
front/src/Routes/
Room/Room
Container.js
View file @
fe99b45
import
React
from
"react"
;
import
{
withRouter
}
from
"react-router-dom"
;
import
ChannelPresenter
from
"./Channel
Presenter"
;
import
RoomPresenter
from
"./Room
Presenter"
;
export
default
withRouter
(({
location
})
=>
{
return
<
Channel
Presenter
/>
;
return
<
Room
Presenter
/>
;
});
...
...
front/src/Routes/
Channel/Channel
Presenter.js
→
front/src/Routes/
Room/Room
Presenter.js
View file @
fe99b45
import
React
from
"react"
;
import
styled
from
"styled-components"
;
import
Header
from
"../../Components/Header"
;
import
ChannelList
from
"../../Components/Channel
List"
;
import
RoomList
from
"../../Components/Room
List"
;
const
Wrapper
=
styled
.
div
`
display: flex;
...
...
@@ -15,7 +15,7 @@ export default ({ location }) => {
return
(
<
Wrapper
>
<
Header
text
=
{
"KhuChat"
}
><
/Header
>
<
ChannelList
><
/Channel
List
>
<
RoomList
><
/Room
List
>
<
/Wrapper
>
);
};
...
...
Please
register
or
login
to post a comment