Skip to content

Commit

Permalink
Got rid of search page title while loading
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaydenkim committed Jan 15, 2025
1 parent 8fc1372 commit 2409210
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions client/src/modules/Results/Components/ResultsDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,7 @@ export const ResultsDisplay = ({

return (
<div className={styles.container}>
{loading && (
<>
<h1> Search Results </h1>
<Loading />
</>
)}
{loading && <Loading/>}
{/* Case where results are returned, even if zero */}
{!loading && (
<div className={styles.layout} data-cy="results-display">
Expand Down

0 comments on commit 2409210

Please sign in to comment.