Skip to content

Commit

Permalink
chore: typo in core concepts docs (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenweb authored Feb 5, 2025
1 parent 552a1f3 commit 0bac19d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/docs/concepts/user-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Text.craft = {


## Related Components
What happens if you need to design some component to complement our user component? For instance, if we were planning on building a Toolbar somewhere in our page editor, we would like the Toolbar to display a bunch of text inputs to allow the user the edit the currently selected component. It would be great if we could retrieve a specific component that has all the relevant inputs for the user to edit the currently selected component.
What happens if you need to design some component to complement our user component? For instance, if we were planning on building a Toolbar somewhere in our page editor, we would like the Toolbar to display a bunch of text inputs to allow the user to edit the currently selected component. It would be great if we could retrieve a specific component that has all the relevant inputs for the user to edit the currently selected component.


This is where related components become useful. These components share the same corresponding `Node` as the actual user component, hence the `useNode` hook that we have been using all this while will be made available to these components as well.
Expand Down Expand Up @@ -351,4 +351,4 @@ const Container = ({background, title, children}) => {
}
}
```
-->
-->

0 comments on commit 0bac19d

Please sign in to comment.