Skip to content

Commit 190d3e5

Browse files
Fix link formatting (#10580)
1 parent 6e19bf5 commit 190d3e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

responses.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ const sendMessage = () => {
459459
When sending data back to the stream via `send`, the active connection to the stream is canceled before sending the new data. All requests are sent as JSON `POST` requests.
460460

461461
> [!WARNING]
462-
> Since the `useStream` hook makes a `POST` request to your application, a valid CSRF token is required. The easiest way to provide the CSRF token is to [include it via a `meta` tag in your application layout's `head`](/docs/{{version}}/csrf#csrf-x-csrf-token).
462+
> Since the `useStream` hook makes a `POST` request to your application, a valid CSRF token is required. The easiest way to provide the CSRF token is to [include it via a meta tag in your application layout's head](/docs/{{version}}/csrf#csrf-x-csrf-token).
463463
464464
The second argument given to `useStream` is an options object that you may use to customize the stream consumption behavior. The default values for this object are shown below:
465465

@@ -653,7 +653,7 @@ Route::get('/users.json', function () {
653653
});
654654
```
655655

656-
The `useJsonStream` hook is identical to the [`useStream` hook](#consuming-streamed-responses) except that it will attempt to parse the data as JSON once it has finished streaming:
656+
The `useJsonStream` hook is identical to the [useStream hook](#consuming-streamed-responses) except that it will attempt to parse the data as JSON once it has finished streaming:
657657

658658
```tsx tab=React
659659
import { useJsonStream } from "@laravel/stream-react";

0 commit comments

Comments
 (0)