Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit 86158ad

Browse files
committed
fix update polly query
1 parent db66c3c commit 86158ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rest/polly.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const useSearchPolly = (query?: string) => {
1212
const [loading, setLoading] = useState(false);
1313
const [error, setError] = useState(null);
1414
useEffect(() => {
15-
if(query?.length??0 < 3) return
15+
if((query?.length??0) < 3) return
1616
setLoading(true);
1717
searchPolly(query).then((res) => res.json())
1818
.then((searchPollyDto) => {

0 commit comments

Comments
 (0)