mirror of
https://github.com/home-assistant/frontend.git
synced 2026-05-21 07:28:59 +01:00
5de84ac0d8
Simplifies the default case in isSeparatorAtPos function by directly returning the boolean result of isEmojiImprecise(code) instead of using an if-else statement. This improves code readability and reduces unnecessary conditional logic while maintaining the same behavior. Changes: - Removed verbose if-else pattern - Direct boolean return - Reduced cyclomatic complexity