lint
This commit is contained in:
parent
4501d24e1e
commit
4b58f3564a
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ export const useGetSearchQuery = (
|
|||
}
|
||||
>();
|
||||
|
||||
data.results.forEach((chunk: ChunkResult) => {
|
||||
(data.results || []).forEach((chunk: ChunkResult) => {
|
||||
const existing = fileMap.get(chunk.filename);
|
||||
if (existing) {
|
||||
existing.chunks.push(chunk);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue