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-21 03:50:39 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8e2494534c914799dd1c799a061ca068dee06a76
8e249453
1 parent
55611856
update props
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
front/src/Routes/Room/RoomContainer.js
front/src/Routes/Room/RoomContainer.js
View file @
8e24945
...
...
@@ -6,6 +6,10 @@ import { GET_ROOMS } from "./RoomQueries";
export
default
withRouter
(()
=>
{
const
{
data
}
=
useQuery
(
GET_ROOMS
);
console
.
log
(
data
);
return
<
RoomPresenter
/>
;
let
roomArray
;
if
(
data
!==
undefined
)
{
const
{
getRooms
}
=
data
;
roomArray
=
getRooms
;
}
return
<
RoomPresenter
roomArray
=
{
roomArray
}
/>
;
});
...
...
Please
register
or
login
to post a comment