1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-03-22 03:29:42 +01:00

add loggedin analysis required for MV3 migration

This commit is contained in:
Kushagra Gour 2024-02-20 14:40:25 +05:30
parent 7371143671
commit edee0f7e70
2 changed files with 1943 additions and 8 deletions

1949
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -166,6 +166,8 @@ export default class App extends Component {
if (user) {
log('You are -> ', user);
alertsService.add('You are now logged in!');
trackEvent('fn', 'loggedIn', window.IS_EXTENSION ? 'extension' : 'web');
this.setState({ user });
window.user = user;
if (!window.localStorage[LocalStorageKeys.ASKED_TO_IMPORT_CREATIONS]) {