We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
browse words
recent-searches
1 parent 5fbcca6 commit a660de2Copy full SHA for a660de2
1 file changed
src/components/islands/recent-searches.jsx
@@ -5,7 +5,7 @@ import { $recentSearches } from "../../lib/stores/search.js";
5
/**
6
* Recent Searches Component - An Island that displays a user's last 5 searches
7
*
8
- * @todo implement a default list instead of `null` when no `$recentSearch` is found
+ * @todo implement a default list instead of `null` (now browse-word link) when no `$recentSearch` is found
9
* @todo implement loading component to avoid flickering UI
10
*/
11
export default function RecentSearches() {
@@ -28,5 +28,11 @@ export default function RecentSearches() {
28
))}
29
</ol>
30
</div>
31
- ) : null;
+ ) : (
32
+ <div className="ml-2 mt-4 md:mt-6">
33
+ <a href="/browse">
34
+ Browse Words
35
+ </a>
36
+ </div>
37
+ );
38
}
0 commit comments