Add onProjectTelemetryEvent handler for GUI

This commit is contained in:
Christopher Willis-Ford 2018-12-21 01:44:58 -08:00
parent 77b8a13d64
commit 34d96bf49c

View file

@ -50,6 +50,9 @@ const guiProps = {
},
onTelemetryModalOptOut: () => {
ipcRenderer.send('setTelemetryDidOptIn', false);
},
onProjectTelemetryEvent: (event, metadata) => {
ipcRenderer.send(event, metadata);
}
};
const wrappedGui = React.createElement(WrappedGui, guiProps);