Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit d0389a7

Browse files
chore: updated home page to use renamed files
1 parent 0a59926 commit d0389a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/renderer/pages/Home.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { useQuery } from '@apollo/client';
22
import useQueryVariables from '../hooks/useQueryVariables';
3-
import SearchResults from '../components/SearchResults';
43
import SearchResultsEmpty from '../components/SearchResults/SearchResultsEmpty';
54
import SearchResultsError from '../components/SearchResults/SearchResultsError';
6-
import SearchResultsLoading from '../components/SearchResults/SearchResultsLoading';
5+
import SnippetResults from '../components/SnippetResults/SnippetResults';
6+
import SnippetResultsLoading from '../components/SnippetResults/SnippetResultsLoading';
77
import {
88
GetRecipesSemanticallyData,
99
GetRecipesSemanticallyVariables,
@@ -32,12 +32,12 @@ export default function Home() {
3232
}
3333

3434
if (loading) {
35-
return <SearchResultsLoading />;
35+
return <SnippetResultsLoading />;
3636
}
3737

3838
if (results.length === 0) {
3939
return <SearchResultsEmpty />;
4040
}
4141

42-
return <SearchResults results={results} />;
42+
return <SnippetResults results={results} />;
4343
}

0 commit comments

Comments
 (0)