Skip to content

Commit

Permalink
docs:(sdk-react): Correct code block syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjcsmith committed Nov 11, 2024
1 parent 6925b5a commit 8e51599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const { messages, run, createMessage, start } = useRun({

Once the hook is initialized, you can start the run by calling the `start` function:

```
```typescript
start()

// Access messages and run state
Expand All @@ -78,7 +78,7 @@ console.log(run); // Current run status and metadata

You can add messages to the run by calling the `createMessage` function:

```
```typescript
// Optional: Send follow-up messages
await createMessage({
message: 'Hello!',
Expand Down

0 comments on commit 8e51599

Please sign in to comment.