Don't disable form if >= 9 shortcuts

This is old code when form was inline instead of another modal
pull/97/head
Lim Chee Aun 2023-04-19 10:42:09 +08:00
rodzic 37a5c09fde
commit 3a4a75793a
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -459,7 +459,6 @@ function ShortcutsSettings() {
<ShortcutForm
shortcut={showForm.shortcut}
shortcutIndex={showForm.shortcutIndex}
disabled={shortcuts.length >= SHORTCUTS_LIMIT}
lists={lists}
followedHashtags={followedHashtags}
onSubmit={({ result, mode }) => {