docs: remove typo in use-selected-layout-segments.mdx (#54767)

This pull request removes a typo in `use-selected-layout-segments.mdx`.

![image](https://github.com/vercel/next.js/assets/82393815/3c2717cf-212b-4d99-b403-3f90193adf42)
This commit is contained in:
Mateusz Aliyev 2023-08-30 15:27:47 +02:00 committed by GitHub
parent dc55050894
commit a759711cab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,6 @@ const segments = useSelectedLayoutSegments(parallelRoutesKey?: string)
```
`useSelectedLayoutSegments` _optionally_ accepts a [`parallelRoutesKey`](/docs/app/building-your-application/routing/parallel-routes#useselectedlayoutsegments), which allows you to read the active route segment within that slot.
s.
## Returns