fix typo
This commit is contained in:
parent
b672590cbb
commit
24bc21aecc
1 changed files with 3 additions and 3 deletions
|
@ -53,9 +53,9 @@ class ErrorBoundary extends React.Component<Props, State> {
|
|||
|
||||
log(message) {
|
||||
declare var app: { env: string };
|
||||
// if (app.env === 'production') {
|
||||
Lbryio.call('event', 'desktop_error', { error_message: message });
|
||||
// }
|
||||
if (app.env === 'production') {
|
||||
Lbryio.call('event', 'desktop_error', { error_message: message });
|
||||
}
|
||||
}
|
||||
|
||||
refresh() {
|
||||
|
|
Loading…
Reference in a new issue