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-31 23:43:50 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1adf139a8f3f05a3daec91080aefd694b983ffd4
1adf139a
1 parent
7ec9e78f
change component name
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
front/src/Routes/Chat/ChatPresenter.js
front/src/Routes/Chat/ChatPresenter.js
View file @
1adf139
...
...
@@ -7,7 +7,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import
{
faAddressBook
}
from
"@fortawesome/free-solid-svg-icons"
;
import
{
Link
}
from
"react-router-dom"
;
import
Category
from
"../Category/CategoryContainer"
;
import
SendingMsg
from
"../../Components/SendingMsg
"
;
import
Message
from
"../../Components/Message
"
;
const
Wrapper
=
styled
.
div
`
display: grid;
...
...
@@ -136,9 +136,9 @@ export default ({
location
,
message
,
onSubmit
,
sending
Text
,
sending
Time
,
sending
MsgObj
,
message
Text
,
message
Time
,
new
MsgObj
,
})
=>
{
const
{
pathname
}
=
location
;
const
roomName
=
pathname
.
slice
(
1
,
pathname
.
length
);
...
...
@@ -164,7 +164,7 @@ export default ({
<
Title
>
Selected
Menu
Title
<
/Title
>
<
/ChatScreenHeader
>
<
ChatScreenBox
>
<
SendingMsg
text
=
{
sendingText
}
time
=
{
sendingTime
}
/
>
{
newMsgObj
&&
<
Message
text
=
{
messageText
}
time
=
{
messageTime
}
/>
}
<
InputContainer
>
<
form
onSubmit
=
{
onSubmit
}
>
<
Input
...
...
Please
register
or
login
to post a comment