Skip to content

Commit

Permalink
fix: analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
jordmccord committed Jul 10, 2024
1 parent b8e6623 commit 3c2c2ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/native-ui-storybook/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const decorators: Decorator[] = [

return viewMode === 'story' ? (
<NativeUIProvider colorMode={colorScheme}>
<Analytics />
<Analytics endpoint={window.top?.location?.href} />
<PlatformContextProvider
args={args}
id={id}
Expand Down Expand Up @@ -95,7 +95,7 @@ export const DocsContainer: FC<PropsWithChildren<DocsContainerProps>> = ({ child

return (
<BaseContainer theme={isDark ? themeDark : themeLight} context={context}>
<Analytics />
<Analytics endpoint={window.top?.location?.href} />
{children}
</BaseContainer>
);
Expand Down

0 comments on commit 3c2c2ba

Please sign in to comment.