Skip to content

Commit

Permalink
feat: Clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
CTNicholas committed Aug 25, 2023
1 parent 102abd9 commit fc486ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/walkthroughs/07-enabling-collaborative-editing.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ With some matching styles to set up the positioning:
```
You can then import this into your `SlateEditor` component. Notice that we're using `withCursors` from `slate-yjs`,
adding `awareness` and the current user's name to it, and then wrapping `<Editable>` in the new `<Cursors>` component
we've just created.
adding `provider.awareness` and the current user's name to it. We're then wrapping `<Editable>` in the new `<Cursors>`
component we've just created.
```jsx
import { useEffect, useMemo, useState } from 'react'
Expand Down

0 comments on commit fc486ce

Please sign in to comment.