Skip to content

Commit

Permalink
[docs] Update Consent README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky authored Sep 20, 2023
1 parent b49ed5f commit c76698e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/consent/consent-tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { createWrapper, resolveWhen } from '@segment/analytics-consent-tools'

export const withCMP = createWrapper({

// Do not attempt to load segment until this function returns / resolves
// Wrapper waits to load segment / get categories until this function returns / resolves
shouldLoad: (ctx) => {
const CMP = await getCMP()
await resolveWhen(
Expand Down

0 comments on commit c76698e

Please sign in to comment.