Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/docs/getting-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ import { createRoot } from "react-dom/client";
import "./index.css";
import App from "./App.tsx";
import { RelayEnvironmentProvider } from "react-relay";
import { Environment, Network, FetchFunction } from "relay-runtime";
import { Environment, Network, type FetchFunction } from "relay-runtime";

const HTTP_ENDPOINT = "https://graphql.org/graphql/";

Expand Down Expand Up @@ -128,7 +128,7 @@ See [Relay Environment](../api-reference/relay-runtime/relay-environment.md) for
Finally we can start defining the data we want to fetch and build our UI. Our app will fetch a list of films and render each one using a `<Film>` component.

```tsx title="src/App.tsx"
import { AppQuery } from "./__generated__/AppQuery.graphql";
import type { AppQuery } from "./__generated__/AppQuery.graphql";
import { graphql, useLazyLoadQuery } from "react-relay";
import Film from "./Film";

Expand Down