Overview
useProject returns the project context values set by the nearest ReplykeProvider. Use it to read the active projectId and the project’s configuration (such as enabled integrations) from anywhere inside the provider tree.
Usage Example
Returns
The project ID passed to the enclosing
ReplykeProvider.Lean project data fetched from the API, or
null while loading. Contains:id— the project’s UUID.integrations— array of integrations enabled for this project. Each entry has:id— integration IDprojectId— parent project IDname— integration namedata— integration-specific configurationcreatedAt— creation timestamp

