fix(dashboard): remove minimum length limit while searching share link by ID

This commit is contained in:
Aaron Liu 2025-05-23 15:42:38 +08:00
parent 5c58055971
commit 16ad05bee8

View File

@ -67,7 +67,7 @@ const SharesInput = (props: SharesInputProps) => {
useEffect(() => {
let active = true;
if (inputValue === "" || inputValue.length < 2) {
if (inputValue === "") {
setOptions([]);
return undefined;
}