Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed May 20, 2024
1 parent 520b574 commit e26bd5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/src/components/SearchPage/SearchFullUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,14 @@ export const InnerSearchFullUI = ({

{(detailsHook.isError || aggregatedHook.isError) && (
<>
detailsHook.error?.status === 503 ? <div> No data in database</div> :
<div className='bg-red-400'>
{ detailsHook.error?.status === 503 ? <div> No data in database</div> :
<div className='bg-red-400 p-3 rounded-lg'>
<p>There was an error loading the data.</p>
<p>{JSON.stringify(detailsHook.error)}</p>
<p className="text-xs">{JSON.stringify(detailsHook.error)}</p>

<p>{detailsHook.error?.message}</p>
<p>{aggregatedHook.error?.message}</p>
</div>
</div>}
</>
)}
{(detailsHook.isPaused || aggregatedHook.isPaused) &&
Expand Down

0 comments on commit e26bd5e

Please sign in to comment.