From ec69498d99a33529128014aadeb3e0d093d1ab30 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 15 Apr 2026 18:02:11 +0100 Subject: [PATCH] Remove redundant check --- apps/web/src/slash-commands/SlashCommands.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/slash-commands/SlashCommands.tsx b/apps/web/src/slash-commands/SlashCommands.tsx index a20a716021..aaeffb3d3a 100644 --- a/apps/web/src/slash-commands/SlashCommands.tsx +++ b/apps/web/src/slash-commands/SlashCommands.tsx @@ -841,7 +841,7 @@ export const Commands = [ if (additionalSegment) { return reject(new UserFriendlyError("slash_command|status|too_long_emoji")); } - if (text && !userStatusTextWithinMaxLength(text)) { + if (!userStatusTextWithinMaxLength(text)) { return reject(new UserFriendlyError("slash_command|status|too_long_text")); } return success(