From: Carl Worth Date: Fri, 6 Mar 2026 13:34:51 +0000 (-0500) Subject: Leave the "Some words are not valid" text up whenever it is relevant X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=023c4734d9f07a788b5d7d4fb751350b79a8ffe7;p=lmno.games Leave the "Some words are not valid" text up whenever it is relevant 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. --- diff --git a/letterrip/letterrip.jsx b/letterrip/letterrip.jsx index f524636..06d2c15 100644 --- a/letterrip/letterrip.jsx +++ b/letterrip/letterrip.jsx @@ -739,7 +739,7 @@ class Game extends React.Component { /> ) : null, - state.joined && state.rack.length > 0 && Object.keys(state.grid).length > 0 ? ( + state.joined && Object.keys(state.grid).length > 0 && !can_complete ? (
{!analysis.all_valid ? "Some words are not valid." : !analysis.all_connected ? "All tiles must be connected." :