This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-GoogleTrendsGame
mirror of
https://github.com/jrtechs/GoogleTrendsGame.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Fixed Button Hookup
master
Unknown
7 years ago
parent
09099e73b7
commit
617a4c6dac
2 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
googletrendsgame/src/components/RoomList.js
+2
-2
googletrendsgame/src/components/RoomListItem.js
+ 1
- 1
googletrendsgame/src/components/RoomList.js
View File
@ -12,7 +12,7 @@ export default (props) => {
return
(
<
div
>
<
div
>
{
roomsList
}
<
/
d
i
v
>
<
button
>
Create
Room
<
/
b
u
t
t
o
n
>
<
button
onClick
=
{
props
.
stateModifier
}
>
Create
Room
<
/
b
u
t
t
o
n
>
<
/
d
i
v
>
)
;
}
else
{
+ 2
- 2
googletrendsgame/src/components/RoomListItem.js
View File
@ -10,8 +10,8 @@ export default (props) => {
return
(
<
div
>
<
h1
>
{
props
.
roomName
}
<
/
h
1
>
<
h3
>
`
an class="si
">
$
{
props
.
occupancy
}
/
$
{
props
.
capacity
}
`
<
/
h
3
>
<
p
>
{
privateString
}
<
/
p
>
<
h3
>
{
props
.
occupancy
}
/
{
props
.
capacity
}
<
/
h
3
>
<
h5
>
{
privateString
}
<
/
h
5
>
<
/
d
i
v
>
)
}
Write
Preview
Loading…
Cancel
Save