From ac927f6f19ebf11314aaa2251b13b03b4722a01f Mon Sep 17 00:00:00 2001 From: Nikolaj Frey Date: Wed, 9 Aug 2023 13:17:19 +1000 Subject: [PATCH] feat: feature/mvp-sprint-1 Fixed up meta analytics tracking and uuid --- remix/app/components/Thingtime/Thingtime.tsx | 8 ++++---- remix/app/root.tsx | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/remix/app/components/Thingtime/Thingtime.tsx b/remix/app/components/Thingtime/Thingtime.tsx index ae91a0e..d5cb44d 100644 --- a/remix/app/components/Thingtime/Thingtime.tsx +++ b/remix/app/components/Thingtime/Thingtime.tsx @@ -61,9 +61,9 @@ export const Thingtime = (props) => { // push all children into childrenRef.current try { - window.meta.things.db["createDependancies"] = - window.meta.things.db["createDependancies"] || 0 - window.meta.things.db["createDependancies"]++ + window.meta.db["createDependancies"] = + window.meta.db["createDependancies"] || 0 + window.meta.db["createDependancies"]++ } catch {} try { @@ -524,7 +524,7 @@ export const Thingtime = (props) => { const [showContextIcon, setShowContextIcon] = React.useState(false) return ( - + { tmp: {}, subscribers: {}, state: {}, + db: {}, things: { db: {}, limit: 9999,