aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/src/App.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/src/App.tsx b/web/src/App.tsx
index ffbf101..e2cd151 100644
--- a/web/src/App.tsx
+++ b/web/src/App.tsx
@@ -39,6 +39,11 @@ function App() {
<div className="item-container">
{data.map((doc: ResultDoc) => <Doc document={doc} key={doc.id}/>)}
+ {data.length == 0 && query.length > 0 &&
+ <div className="card">
+ <p>No Results Found</p>
+ </div>
+ }
</div>
</>
)