[feature] Allow emoji shortcode to be 1-character length (#3556)

* [feature] Allow emoji shortcode to be 1-character length

* testerino fixeroni

* spaghet
This commit is contained in:
tobi 2024-11-21 12:13:55 +01:00 committed by GitHub
commit c2029df9bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 17 additions and 13 deletions

View file

@ -119,7 +119,7 @@ export default function NewEmojiForm() {
label="Shortcode, must be unique among the instance's local emoji"
autoCapitalize="none"
spellCheck="false"
{...{pattern: "^\\w{2,30}$"}}
{...{pattern: "^\\w{1,30}$"}}
/>
<CategorySelect