CLASSROOMIO-T-8: Add general calendar

This commit is contained in:
Rotimi Best
2021-11-07 00:26:54 +02:00
parent 9d7266f906
commit 9c2350bcee
18 changed files with 579 additions and 190 deletions
+16 -14
View File
@@ -6,20 +6,22 @@ import config from './config';
console.log(`isProd`, config.isProd);
Sentry.init({
dsn: 'https://[email protected]/5999999',
integrations: [
new Integrations.BrowserTracing(),
new CaptureConsole({
levels: ['error'],
}),
],
environment: config.isProd ? 'production' : 'development',
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 1.0,
});
if (config.isProd) {
Sentry.init({
dsn: 'https://[email protected]/5999999',
integrations: [
new Integrations.BrowserTracing(),
new CaptureConsole({
levels: ['error'],
}),
],
environment: config.isProd ? 'production' : 'development',
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
tracesSampleRate: 1.0,
});
}
sapper.start({
target: document.querySelector('#sapper'),