From 16ad05bee83b3189fa994ccc6b93530846a2579d Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Fri, 23 May 2025 15:42:38 +0800 Subject: [PATCH] fix(dashboard): remove minimum length limit while searching share link by ID --- src/component/Admin/Common/SharesInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/Admin/Common/SharesInput.tsx b/src/component/Admin/Common/SharesInput.tsx index 1aa070a..f58f6b1 100644 --- a/src/component/Admin/Common/SharesInput.tsx +++ b/src/component/Admin/Common/SharesInput.tsx @@ -67,7 +67,7 @@ const SharesInput = (props: SharesInputProps) => { useEffect(() => { let active = true; - if (inputValue === "" || inputValue.length < 2) { + if (inputValue === "") { setOptions([]); return undefined; }