Skip to content

Commit d4144c8

Browse files
committed
add button for empty search results
1 parent 16d1efd commit d4144c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/search/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,9 @@ export function Search({path, autoFocus, searchPlatforms = [], showChatBot}: Pro
380380

381381
{!loading && totalHits === 0 && (
382382
<div className={styles['sgs-hit-empty-state']}>
383-
No results for <em>{query}</em>
383+
<button className="kapa-ai-class font-bold">
384+
Can't find what you're looking for? Ask our AI!
385+
</button>
384386
</div>
385387
)}
386388

0 commit comments

Comments
 (0)