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 12:16:54 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0a9ddbd9029403756b702d1916d35469100fcc01
0a9ddbd9
1 parent
23b0727b
update room container
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
front/src/Routes/Room/RoomContainer.js
front/src/Routes/Room/RoomContainer.js
View file @
0a9ddbd
import
React
from
"react"
;
import
{
useQuery
}
from
"@apollo/react-hooks"
;
import
{
withRouter
}
from
"react-router-dom"
;
import
RoomPresenter
from
"./RoomPresenter"
;
import
{
GET_ROOMS
}
from
"./RoomQueries"
;
export
default
withRouter
(({
location
})
=>
{
export
default
withRouter
(()
=>
{
const
{
data
}
=
useQuery
(
GET_ROOMS
);
console
.
log
(
data
);
return
<
RoomPresenter
/>
;
});
...
...
Please
register
or
login
to post a comment