Default properties to {} to avoid passing it superfluously for events with no properties
This commit is contained in:
parent
d401789f9e
commit
07eaee25d2
2 changed files with 3 additions and 3 deletions
|
@ -76,6 +76,6 @@ export default class Welcome extends React.PureComponent<IProps> {
|
|||
}
|
||||
|
||||
componentDidMount() {
|
||||
getAnalytics().trackAnonymousEvent<IWelcomeScreenLoad>("welcome_screen_load", {});
|
||||
getAnalytics().trackAnonymousEvent<IWelcomeScreenLoad>("welcome_screen_load");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue