Hi, is there any way to get the current siteUrl within Forge UI Kit?
e.g. https://my-site.atlassian.net/
I was looking around at this import
- import { useProductContext } from @forge/ui
As well as this
- const [ siteUrl ] = useProductContext()
But the siteUrl doesn’t seem to work (or at least it returns empty value)
I did also look at this documentation, and siteUrl doesn’t seem to be there:
However, I did find this variable in here @ Line 61:
- https://www.npmjs.com/package/@forge/ui?activeTab=code
- In this file: / @forge/ui / out / types / forge.d.ts
Was this variable removed completely from useProductContext?
Is there any other way to get the site URL?