- {/* view all results /search?q=term */}
{searchTerm.current && (
@@ -371,7 +366,6 @@ function usePredictiveSearch() {
totalResults: 0,
};
- // capture the search input element as a ref
useEffect(() => {
if (searchInputRef.current) return;
searchInputRef.current = document.querySelector('input[type="search"]');
diff --git a/app/root.jsx b/app/root.jsx
index 56ecfa6..4d6db79 100644
--- a/app/root.jsx
+++ b/app/root.jsx
@@ -113,7 +113,6 @@ export async function loader({ context }) {
export default function App() {
const nonce = useNonce()
- /** @type {LoaderReturnData} */
const data = useLoaderData()
return (
@@ -139,8 +138,6 @@ export default function App() {
content='width=device-width,initial-scale=1'
/>
- {/* We need to either move the loading of CSS someplace else instead of links() */}
- {/* or fix Links throwing an error when navigating to a 404 */}