[MM-23332] fix eslint (#1238)
* fix eslint packages * fix eslint rules * more eslint fixes
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
// Copyright (c) 2015-2016 Yuya Ochiai
|
||||
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
|
||||
// See LICENSE.txt for license information.
|
||||
// eslint-disable-next-line eslint-comments/disable-enable-pair
|
||||
/* eslint-disable react/no-set-state */
|
||||
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
|
@@ -304,10 +304,10 @@ export default class MattermostView extends React.Component {
|
||||
handleDeepLink = (relativeUrl) => {
|
||||
const webview = this.webviewRef.current;
|
||||
webview.executeJavaScript(
|
||||
'history.pushState(null, null, "' + relativeUrl + '");'
|
||||
'history.pushState(null, null, "' + relativeUrl + '");',
|
||||
);
|
||||
webview.executeJavaScript(
|
||||
'dispatchEvent(new PopStateEvent("popstate", null));'
|
||||
'dispatchEvent(new PopStateEvent("popstate", null));',
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user