Skip to content

Commit

Permalink
add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelblum committed Nov 15, 2024
1 parent ce43184 commit 240b1d6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .changeset/witty-coats-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
"@comet/brevo-admin": major
---

Define scopeParts in BrevoConfig

Previously the scopeParts had to be defined in the functions:

- createBrevoContactsPage
- createTargetGroupsPage
- createEmailCampaignsPage

Now it has to be defined once in the BrevoConfig:

```tsx
<BrevoConfigProvider
value={{
scopeParts: ["domain", "language"],
...otherProps,
}}
>
{children}
</BrevoConfigProvider>
```

0 comments on commit 240b1d6

Please sign in to comment.