From 74a02ee388217ca58b805b5466de510272d59631 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 16 Feb 2023 18:37:57 +0800 Subject: [PATCH] lol forgot to link the datalist --- src/components/shortcuts-settings.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/shortcuts-settings.jsx b/src/components/shortcuts-settings.jsx index f52693e0..b21ff898 100644 --- a/src/components/shortcuts-settings.jsx +++ b/src/components/shortcuts-settings.jsx @@ -336,9 +336,14 @@ function ShortcutForm({ type, lists, followedHashtags, onSubmit }) { name={name} placeholder={placeholder} required={type === 'text'} + list={ + currentType === 'hashtag' + ? 'followed-hashtags-datalist' + : null + } /> {currentType === 'hashtag' && followedHashtags.length > 0 && ( - + {followedHashtags.map((tag) => (