mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-04-07 00:15:23 +02:00
fix: regex breaking eslint rules
This commit is contained in:
parent
f51b29e5df
commit
6e9033226b
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ export default function BasicInfoSection() {
|
|||
{...register('title', {
|
||||
required: localize('com_ui_field_required'),
|
||||
pattern: {
|
||||
value: /^[\p{L}\p{N} ''\-]+$/u,
|
||||
value: /^[-\p{L}\p{N} '']+$/u,
|
||||
message: localize('com_ui_mcp_title_invalid'),
|
||||
},
|
||||
})}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue