Don't disable form if >= 9 shortcuts

This is old code when form was inline instead of another modal
This commit is contained in:
Lim Chee Aun 2023-04-19 10:42:09 +08:00
parent 37a5c09fde
commit 3a4a75793a

View file

@ -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 }) => {