Skip to content

Commit

Permalink
docs(dataconnect): remove leading slash when importing from scoped pa…
Browse files Browse the repository at this point in the history
…ckage in example
  • Loading branch information
HassanBahati committed Dec 2, 2024
1 parent f280b10 commit 436006d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/react/hooks/data-connect/useConnectMutation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The hook manages the mutation process and provides an easy-to-use interface to m

```jsx
import { useConnectQuery } from "@tanstack-query-firebase/react";
import { createMovieRef } from "@/your-package-name/your-connector";
import { createMovieRef } from "@your-package-name/your-connector";

function Component() {
const { mutate, isPending, isSuccess, isError, error } =
Expand Down
2 changes: 1 addition & 1 deletion docs/react/hooks/data-connect/useConnectQuery.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The hook simplifies the process of querying data from Firebase Data Connect and

```jsx
import { useConnectQuery } from "@tanstack-query-firebase/react";
import { listMoviesQuery } from "@/your-package-name/your-connector";
import { listMoviesQuery } from "@your-package-name/your-connector";

function Component() {
const { data, isPending, isSuccess, isError, error } = useConnectQuery(
Expand Down

0 comments on commit 436006d

Please sign in to comment.