Merge pull request #2471 from urbit/mp/launch-weather-crash

launch: stop passing 'invite' prop to tiles
This commit is contained in:
ixv 2020-03-13 13:02:27 -07:00 committed by GitHub
commit 4b6271b151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,8 +22,8 @@ export default class Home extends Component {
tileData = this.props.data[tile] !== null tileData = this.props.data[tile] !== null
? this.props.data[tile] : {}; ? this.props.data[tile] : {};
tileData["invites"] = ("invites" in this.props.data) // tileData["invites"] = ("invites" in this.props.data)
? this.props.data["invites"] : {}; // ? this.props.data["invites"] : {};
} }
return <Tile key={tile} type={tile} data={tileData} />; return <Tile key={tile} type={tile} data={tileData} />;
}); });