about summary refs log tree commit diff
path: root/src/lib/analytics/analytics.web.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2023-12-06 18:05:59 +0000
committerGitHub <noreply@github.com>2023-12-06 10:05:59 -0800
commitde38595a7a04e3dfe67c5251472f1817152b8116 (patch)
treee5a227e614b26368d52e9a91f9c0cb007e251497 /src/lib/analytics/analytics.web.tsx
parent7d158f82fb1c82101c3a0cb637f911ac87e8006b (diff)
downloadvoidsky-de38595a7a04e3dfe67c5251472f1817152b8116.tar.zst
Split notification init, add cleanup (#2102)
* Inline never-imported export

* Remove pretense at handling cleanup

* Extract per-session listener to a function

* Split notifications.init() from notifications.onSessionLoaded()

* Tweak forked code to be more similar

* Remove unnecessary guards

* Split notifications.onSessionLoaded in two

* Always use getAgent()

* Remove dep on listenSessionLoaded, add cleanup
Diffstat (limited to 'src/lib/analytics/analytics.web.tsx')
0 files changed, 0 insertions, 0 deletions