Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiaslins committed Jan 25, 2024
1 parent 9ca5404 commit a2f8708
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/web/src/nextjs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ type Props = Omit<AnalyticsProps, 'route'>;
function AnalyticsComponent(props: Props): React.ReactElement {
const route = useRoute();

return (
<React.StrictMode>
<AnalyticsScript route={route} {...props} framework="next" />
</React.StrictMode>
);
return <AnalyticsScript route={route} {...props} framework="next" />;
}

export function Analytics(props: Props): React.ReactElement {
Expand Down

0 comments on commit a2f8708

Please sign in to comment.