Skip to content

Commit

Permalink
fix: allow integrator option override
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Oct 12, 2022
1 parent 87177ae commit 170d604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/widget/src/providers/SDKProvider/SDKProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export const SDKProvider: React.FC<React.PropsWithChildren> = ({
const config = {
...sdkConfig,
defaultRouteOptions: {
...sdkConfig?.defaultRouteOptions,
integrator: integrator ?? window.location.hostname,
...sdkConfig?.defaultRouteOptions,
},
};
if (!lifi) {
Expand Down

0 comments on commit 170d604

Please sign in to comment.