Skip to content

Commit

Permalink
Move WidgetContainer outside of ShadowDomAndProviders
Browse files Browse the repository at this point in the history
  • Loading branch information
toddkao committed Nov 12, 2024
1 parent 7c361b2 commit eb8449b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/widget/src/widget/Widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ const WidgetWithoutNiceModalProvider = (props: WidgetProps) => {
]);

return (
<ShadowDomAndProviders theme={mergedTheme}>
<WidgetContainer>
<WidgetContainer>
<ShadowDomAndProviders theme={mergedTheme}>
<Router />
</WidgetContainer>
</ShadowDomAndProviders>
</ShadowDomAndProviders>
</WidgetContainer>
);
};

Expand Down

0 comments on commit eb8449b

Please sign in to comment.