Skip to content

Commit 147c1b1

Browse files
committed
fix: lint error
1 parent 8b2b9ca commit 147c1b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/Search/SearchPage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,9 @@ function SearchPage({route}: SearchPageProps) {
387387
const searchData = currentSearchResults?.data;
388388
const reports: Report[] = searchData
389389
? 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)
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)
393393
: [];
394394

395395
return (

0 commit comments

Comments
 (0)