Default properties to {} to avoid passing it superfluously for events with no properties
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user