We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b2b9ca commit 147c1b1Copy full SHA for 147c1b1
src/pages/Search/SearchPage.tsx
@@ -387,9 +387,9 @@ function SearchPage({route}: SearchPageProps) {
387
const searchData = currentSearchResults?.data;
388
const reports: Report[] = searchData
389
? Object.keys(searchData)
390
- .filter((key) => key.startsWith(ONYXKEYS.COLLECTION.REPORT))
391
- .map((key) => searchData[key as keyof typeof searchData] as Report)
392
- .filter((report): report is Report => report != null && 'reportID' in report)
+ .filter((key) => key.startsWith(ONYXKEYS.COLLECTION.REPORT))
+ .map((key) => searchData[key as keyof typeof searchData] as Report)
+ .filter((report): report is Report => report != null && 'reportID' in report)
393
: [];
394
395
return (
0 commit comments