diff --git a/contributors.yml b/contributors.yml index 329dfae023..bcff9603b2 100644 --- a/contributors.yml +++ b/contributors.yml @@ -366,6 +366,7 @@ - valerii15298 - ValiantCat - vdusart +- vesan - VictorElHajj - vijaypushkin - vikingviolinist diff --git a/docs/how-to/fetchers.md b/docs/how-to/fetchers.md index d956f12abe..729575de45 100644 --- a/docs/how-to/fetchers.md +++ b/docs/how-to/fetchers.md @@ -219,10 +219,10 @@ export function UserSearchCombobox() { ```tsx lines=[2,5] import { useFetcher } from "react-router"; -import type { Search } from "./search-users"; +import type { loader } from "./search-users"; export function UserSearchCombobox() { - let fetcher = useFetcher(); + let fetcher = useFetcher(); // ... } ``` @@ -235,7 +235,7 @@ Ensure you use `import type` so you only import the types. import { useFetcher } from "react-router"; export function UserSearchCombobox() { - let fetcher = useFetcher(); + let fetcher = useFetcher(); return (
@@ -261,7 +261,7 @@ Note you will need to hit "enter" to submit the form and see the results. import { useFetcher } from "react-router"; export function UserSearchCombobox() { - let fetcher = useFetcher(); + let fetcher = useFetcher(); return (