From 023c4734d9f07a788b5d7d4fb751350b79a8ffe7 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 6 Mar 2026 08:34:51 -0500 Subject: [PATCH] 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. --- letterrip/letterrip.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." : -- 2.45.2