Skip to content

Commit

Permalink
updated writekey and play pause
Browse files Browse the repository at this point in the history
  • Loading branch information
okeino committed Dec 13, 2023
1 parent 940c92c commit c2609cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/atoms/analytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { AnalyticsBrowser } from '@segment/analytics-next';

// We can export this instance to share with rest of our codebase.
export const analytics = AnalyticsBrowser.load({
writeKey: 'vkWzScRn3eSetN6cMhGhrzEuo4GaBJ0v',
writeKey: 'oTuJ7Ab15OkcWQH1nAQKcKewzi9sQL3k',
});
2 changes: 1 addition & 1 deletion src/lib/usePlaybackSession.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ export default function usePlaybackSession(
}

function play() {
trackPlay();
afterLoad((c) => c.play());
trackPlay();
}

function setPrefersAudio(prefersAudio: boolean) {
Expand Down

0 comments on commit c2609cf

Please sign in to comment.