Prior to this commit, this message was disappearing when the last tile
was removed from the rack, but there's no reason for that. The message
depends only on the state of the board, not whether there are tiles
on the rack or not.
/>
) : null,
- state.joined && state.rack.length > 0 && Object.keys(state.grid).length > 0 ? (
+ state.joined && Object.keys(state.grid).length > 0 && !can_complete ? (
<div key="status" className="status">
{!analysis.all_valid ? "Some words are not valid." :
!analysis.all_connected ? "All tiles must be connected." :