Skip to content

Commit 7acb97e

Browse files
fix(docs): proper capitalization of TanStack
1 parent 4b6dedb commit 7acb97e

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

docs/frontend/02-tanstack-query-prepare-request.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
sidebar_position: 1
33
slug: tanstack-query-prepare-request
4-
title: Prepare request (Tanstack Query)
4+
title: Prepare request (TanStack Query)
55
authors: [nikerzetic]
6-
description: Prepare an FDC request through a Verifier server using Tanstack Query.
6+
description: Prepare an FDC request through a Verifier server using TanStack Query.
77
tags: [quickstart, ethereum, flare-smart-accounts]
88
keywords:
99
[
@@ -28,7 +28,7 @@ While this process can be done manually, it is recommended that the data is enco
2828
Besides encoding the data, the server also checks its validity.
2929
Thus, it is a useful tool for catching user error.
3030

31-
We will make the request to the verifier server with the [Tanstack Query](https://tanstack.com/query/latest/docs/framework/react/overview) library.
31+
We will make the request to the verifier server with the [TanStack Query](https://tanstack.com/query/latest/docs/framework/react/overview) library.
3232
Because we want the request to be sent only when the user presses a button, we will not employ its `useQuery` hook.
3333
Instead, we will utilize [`useMutation`](https://tanstack.com/query/latest/docs/framework/react/guides/mutations).
3434

docs/frontend/tanstack-query/02-prepare-request.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sidebar_position: 1
33
slug: prepare-request
44
title: Prepare request
55
authors: [nikerzetic]
6-
description: Prepare an FDC request through a Verifier server using Tanstack Query.
6+
description: Prepare an FDC request through a Verifier server using TanStack Query.
77
tags: [quickstart, ethereum, flare-smart-accounts]
88
keywords:
99
[
@@ -33,6 +33,6 @@ While this process can be done manually, it is recommended that the data is enco
3333
Besides encoding the data, the server also checks its validity.
3434
Thus, it is a useful tool for catching user error.
3535

36-
We will make the request to the verifier server with the [Tanstack Query](https://tanstack.com/query/latest/docs/framework/react/overview) library.
36+
We will make the request to the verifier server with the [TanStack Query](https://tanstack.com/query/latest/docs/framework/react/overview) library.
3737
Because we want the request to be sent only when the user presses a button, we will not employ its `useQuery` hook.
3838
Instead, we will utilize [`useMutation`](https://tanstack.com/query/latest/docs/framework/react/guides/mutations).

docs/frontend/tanstack-query/03-prepare-web2json-request.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sidebar_position: 1
33
slug: prepare-web2json-request
44
title: Prepare Web2Json request
55
authors: [nikerzetic]
6-
description: Prepare an FDC request through a Verifier server using Tanstack Query.
6+
description: Prepare an FDC request through a Verifier server using TanStack Query.
77
tags: [quickstart, ethereum, flare-smart-accounts]
88
keywords:
99
[
@@ -29,13 +29,13 @@ Shown below is a card component that accepts user input and makes the request wi
2929

3030
<BrowserOnly>{() => <PrepareWeb2JsonRequestApp />}</BrowserOnly>
3131

32-
We will focus only on the part of the component that defines and calls the Tanstack Query mutation.
32+
We will focus only on the part of the component that defines and calls the TanStack Query mutation.
3333
The remainder of the code is mostly HTML boilerplate, though the full source code is available at the end of the guide.
3434

3535
Let us take a look at how we invoke the `useMutation` hook.
3636
We provide two parameters, the `mutationFn` and `onSuccess` functions.
3737
In a production application, we should at least also define the `onError` side effect.
38-
You can see the full list of parameters in the [Tanstack Query documentation](https://tanstack.com/query/latest/docs/framework/react/guides/mutations).
38+
You can see the full list of parameters in the [TanStack Query documentation](https://tanstack.com/query/latest/docs/framework/react/guides/mutations).
3939

4040
The `useMutation` hook is called within the main body of the component.
4141
We take the `mutate` return value and call it when the `Prepare ABI-encoded request` button is clicked.

docs/frontend/wagmi/02-get-official-contract-address.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ It is saved to the `contractAddress` state, and displayed at the bottom of the c
7474

7575
To enable the `useReadContract` hook, the card is wrapped in a `QueryClientProvider` and a `WagmiProvider` component.
7676
In a real project, those would be placed at the root level of the app.
77-
To learn more about these, look at the [Tanstack Query](https://tanstack.com/query/latest/docs/framework/react/reference/QueryClientProvider) and [Wagmi](https://wagmi.sh/react/api/WagmiProvider) documentation for the corresponding components.
77+
To learn more about these, look at the [TanStack Query](https://tanstack.com/query/latest/docs/framework/react/reference/QueryClientProvider) and [Wagmi](https://wagmi.sh/react/api/WagmiProvider) documentation for the corresponding components.
7878

7979
<details >
8080

sidebars.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ const sidebars: SidebarsConfig = {
291291
items: [
292292
{
293293
type: "category",
294-
label: "Tanstack Query",
294+
label: "TanStack Query",
295295
collapsed: true,
296296
link: {
297297
slug: "/frontend/tanstack-query",

0 commit comments

Comments
 (0)