mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-05 04:53:26 +03:00
Move Welcome.js to tsx
This commit is contained in:
parent
b380a89ac6
commit
e9e0e4847f
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ import SettingsStore from "../../../settings/SettingsStore";
|
||||||
import { UIFeature } from "../../../settings/UIFeature";
|
import { UIFeature } from "../../../settings/UIFeature";
|
||||||
import CountlyAnalytics from "../../../CountlyAnalytics";
|
import CountlyAnalytics from "../../../CountlyAnalytics";
|
||||||
import { replaceableComponent } from "../../../utils/replaceableComponent";
|
import { replaceableComponent } from "../../../utils/replaceableComponent";
|
||||||
import { getAnalytics } from "../../../PosthogAnalytics";
|
import { getAnalytics, IWelcomeScreenLoad } from "../../../PosthogAnalytics";
|
||||||
|
|
||||||
// translatable strings for Welcome pages
|
// translatable strings for Welcome pages
|
||||||
_td("Sign in with SSO");
|
_td("Sign in with SSO");
|
||||||
|
@ -71,6 +71,6 @@ export default class Welcome extends React.PureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
getAnalytics().trackAnonymousEvent("welcome_screen_load", {});
|
getAnalytics().trackAnonymousEvent<IWelcomeScreenLoad>("welcome_screen_load", { foo: "bar" });
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue