Browse Source

Fixed the operator blunder

master
Unknown 6 years ago
parent
commit
87f4afb031
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      googletrendsgame/src/components/RoomListItem.js
  2. +3
    -0
      googletrendsgame/src/components/UserList.js

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

@ -2,7 +2,7 @@ import React from 'react';
export default (props) => { export default (props) => {
var privateString ='' var privateString =''
if (props.private = false){
if (props.private == false){
privateString = "Public" privateString = "Public"
} else { } else {
privateString = "Private" privateString = "Private"

+ 3
- 0
googletrendsgame/src/components/UserList.js View File

@ -0,0 +1,3 @@
import React from 'react';
function

Loading…
Cancel
Save