mirror of
https://github.com/home-assistant/frontend.git
synced 2026-09-20 08:45:03 +01:00
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