(event: React.FormEvent<HTMLFormElement>)
| 62 | }, [fetchLibrary]); |
| 63 | |
| 64 | const handleSearch = (event: React.FormEvent<HTMLFormElement>) => { |
| 65 | event.preventDefault(); |
| 66 | void fetchLibrary({ |
| 67 | search: searchQuery.trim() || undefined, |
| 68 | }); |
| 69 | }; |
| 70 | |
| 71 | const handleRefresh = () => { |
| 72 | void fetchLibrary({ |
nothing calls this directly
no test coverage detected