The open-source AI voice studio. Clone, dictate, create.
style: wrap TAG_REGEX to satisfy biome formatter
jamiepine50d8d6a34ff1
diff --git a/app/src/components/Generation/ParalinguisticInput.tsx b/app/src/components/Generation/ParalinguisticInput.tsxindex cfa44bff..74ad99a3 100644--- a/app/src/components/Generation/ParalinguisticInput.tsx+++ b/app/src/components/Generation/ParalinguisticInput.tsx@@ -35,7 +35,8 @@ const PARALINGUISTIC_TAGS = [{ tag: '[advertisement]', label: 'advertisement', emoji: '\u{1F4E2}' },] as const;-const TAG_REGEX = /\[(laugh|chuckle|gasp|cough|sigh|groan|sniff|shush|clear throat|angry|crying|dramatic|fear|happy|narration|sarcastic|surprised|whispering|advertisement)\]/gi;+const TAG_REGEX =+ /\[(laugh|chuckle|gasp|cough|sigh|groan|sniff|shush|clear throat|angry|crying|dramatic|fear|happy|narration|sarcastic|surprised|whispering|advertisement)\]/gi;// Data attribute used to identify badge spans in the DOMconst BADGE_ATTR = 'data-ptag';