diff --git a/components/Shell.tsx b/components/Shell.tsx index e0a8fe0f6f..e0cd0f892b 100644 --- a/components/Shell.tsx +++ b/components/Shell.tsx @@ -14,7 +14,7 @@ export default function Shell(props) { useEffect(() => { telemetry.withJitsu((jitsu) => { - return jitsu.track('page_view', {page_url: router.pathname}) + return jitsu.track('page_view', {page_url: router.pathname, page_title: "", source_ip: ""}) }); }, [telemetry]) diff --git a/package.json b/package.json index f881d951f3..6f8c814773 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "dependencies": { "@headlessui/react": "^1.0.0", "@heroicons/react": "^1.0.1", - "@jitsu/sdk-js": "^2.0.0", + "@jitsu/sdk-js": "^2.0.1", "@prisma/client": "2.21.2", "@tailwindcss/forms": "^0.2.1", "bcryptjs": "^2.4.3", diff --git a/pages/[user]/[type].tsx b/pages/[user]/[type].tsx index ec8398eb7b..c33d095608 100644 --- a/pages/[user]/[type].tsx +++ b/pages/[user]/[type].tsx @@ -68,10 +68,10 @@ export default function Type(props) { for (let i = 1; i <= daysInMonth; i++) { days.push(i); } - + // Create placeholder elements for empty days in first week const weekdayOfFirst = dayjs().month(selectedMonth).date(1).day(); - const emptyDays = Array(weekdayOfFirst).fill(null).map((day, i) => + const emptyDays = Array(weekdayOfFirst).fill(null).map((day, i) =>
{null}
@@ -80,7 +80,7 @@ export default function Type(props) { // Combine placeholder days with actual days const calendar = [...emptyDays, ...days.map((day) =>