replace splitbee and panelbear with fathom
This commit is contained in:
		@@ -3,20 +3,14 @@ import { RemixBrowser } from "@remix-run/react";
 | 
			
		||||
import * as Sentry from "@sentry/browser";
 | 
			
		||||
import { Integrations } from "@sentry/tracing";
 | 
			
		||||
 | 
			
		||||
declare global {
 | 
			
		||||
	interface Window {
 | 
			
		||||
		shellphoneConfig: {
 | 
			
		||||
			sentry: { dsn: string };
 | 
			
		||||
		};
 | 
			
		||||
	}
 | 
			
		||||
if (window.shellphoneConfig.sentry.dsn) {
 | 
			
		||||
	Sentry.init({
 | 
			
		||||
		dsn: window.shellphoneConfig.sentry.dsn,
 | 
			
		||||
		tracesSampleRate: 1.0,
 | 
			
		||||
		integrations: [new Integrations.BrowserTracing()],
 | 
			
		||||
	});
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
Sentry.init({
 | 
			
		||||
	dsn: window.shellphoneConfig.sentry.dsn,
 | 
			
		||||
	tracesSampleRate: 1.0,
 | 
			
		||||
	integrations: [new Integrations.BrowserTracing()],
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
hydrate(<RemixBrowser />, document);
 | 
			
		||||
 | 
			
		||||
if ("serviceWorker" in navigator) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user