feat: feature/mvp-sprint-1 Fixed up meta analytics tracking and uuid

This commit is contained in:
Nikolaj Frey 2023-08-09 13:17:19 +10:00
parent f1f2cde209
commit ac927f6f19
2 changed files with 5 additions and 4 deletions

View File

@ -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 (
<Safe {...props} depth={depth} uuid={uuid?.current}>
<Safe {...props} depth={depth} uuid={uuid}>
<Flex
position="relative"
flexDirection="column"

View File

@ -64,6 +64,7 @@ const setThingtime = (glob) => {
tmp: {},
subscribers: {},
state: {},
db: {},
things: {
db: {},
limit: 9999,