mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 20:01:46 +00:00
fix: search swr passed incomplete params
This commit is contained in:
@@ -114,7 +114,7 @@ function SearchResultItemTemplate({
|
||||
|
||||
function SearchResultItemLoadRemote({ result }: { result: OdSearchResult[number] }) {
|
||||
const { data, error }: SWRResponse<OdDriveItem, { status: number; message: any }> = useSWR(
|
||||
`/api/item/?id=${result.id}`,
|
||||
[`/api/item/?id=${result.id}`],
|
||||
fetcher
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user