mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Better custom dimension tracking
This commit is contained in:
@@ -41,11 +41,11 @@ export function VersionProvider({ children }: { children: ComponentChildren }) {
|
||||
changeTargetVersion(newVersion, true)
|
||||
}
|
||||
if (store) {
|
||||
Analytics.setVersion(newVersion)
|
||||
Analytics.changeVersion(version, newVersion)
|
||||
Store.setVersion(newVersion)
|
||||
}
|
||||
setVersion(newVersion)
|
||||
}, [targetVersion])
|
||||
}, [version, targetVersion])
|
||||
|
||||
useEffect(() => {
|
||||
Analytics.setVersion(version)
|
||||
|
||||
Reference in New Issue
Block a user