Kind: Function
Source: atloria-monorepo/apps/web/src/components/Boards/helpers.ts
Extract the audience slug from a published doc URL like /p/{slug}/{audience}/{doc}
Signature
tsfunction parseAudienceFromUrl(pageUrl: string | null | undefined): string
Parameters
| Name | Type |
|---|---|
pageUrl | `string |
Returns: string
Was this page helpful?