this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Debounced auto-submit for GIF search field

+5
+5
src/components/compose.jsx
··· 2374 2374 qRef.current?.focus(); 2375 2375 }, []); 2376 2376 2377 + const debouncedOnInput = useDebouncedCallback(() => { 2378 + fetchGIFs({ offset: 0 }); 2379 + }, 1000); 2380 + 2377 2381 return ( 2378 2382 <div id="gif-picker-sheet" class="sheet"> 2379 2383 {!!onClose && ( ··· 2400 2404 autocapitalize="off" 2401 2405 spellCheck="false" 2402 2406 dir="auto" 2407 + onInput={debouncedOnInput} 2403 2408 /> 2404 2409 <input 2405 2410 type="image"