mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 13:04:17 +03:00
Merge pull request #2471 from urbit/mp/launch-weather-crash
launch: stop passing 'invite' prop to tiles
This commit is contained in:
commit
4b6271b151
@ -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} />;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user