Skip to content

Commit 1a4f661

Browse files
authored
docs: add JSDoc header to word-search.jsx (#228)
## Description <!-- Please add PR description (don't leave blank) - example: This PR [adds/removes/fixes/replaces] the [feature/bug/etc] --> This PR adds documentation to Recent Searches Component ## Related Issue <!-- Please prefix the issue number with Fixes/Resolves - example: Fixes #123 or Resolves #123 --> Fixes #215 ## Screenshots/Screencasts <!-- Please provide screenshots or video recording that demos your changes (especially if it's a visual change) --> N/A ## Notes to Reviewer <!-- Please state here if you added a new npm packages, or any extra information that can help reviewer better review you changes -->
1 parent 0405173 commit 1a4f661

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/components/islands/recent-searches.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Recent Searches Component - User Search History Display
3+
* @exports RecentSearches - Displays user's recent search history from localStorage with links to previously searched terms
4+
*/
15
import { useEffect } from "react";
26
import { useStore } from "@nanostores/react";
37
import { $recentSearches } from "../../lib/stores/search.js";

0 commit comments

Comments
 (0)