Skip to content

Commit

Permalink
set in provider
Browse files Browse the repository at this point in the history
Signed-off-by: Will Chou <[email protected]>
  • Loading branch information
wichopy committed Oct 8, 2024
1 parent 70f09e4 commit 0c14d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/provider/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ export function OpenFeatureProvider({ client, domain, children, ...options }: Pr
client = OpenFeature.getClient(domain);
}

return <Context.Provider value={{ client, options }}>{children}</Context.Provider>;
return <Context.Provider value={{ client, options, domain }}>{children}</Context.Provider>;
}

0 comments on commit 0c14d8f

Please sign in to comment.