Browse Source

Fixed Button Hookup

master
Unknown 6 years ago
parent
commit
617a4c6dac
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      googletrendsgame/src/components/RoomList.js
  2. +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}</div>
<button>Create Room</button>
<button onClick={props.stateModifier}>Create Room</button>
</div>
);
} else {

+ 2
- 2
googletrendsgame/src/components/RoomListItem.js View File

@ -10,8 +10,8 @@ export default (props) => {
return(
<div>
<h1>{props.roomName}</h1>
<h3>`an class="si">${props.occupancy}/${props.capacity}`</h3>
<p>{privateString}</p>
<h3>{props.occupancy}/{props.capacity}</h3>
<h5>{privateString}</h5>
</div>
)
}

Loading…
Cancel
Save