Remove temporary Settings menu selection
[MAILPOET-2682]
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import jQuery from 'jquery';
|
|
||||||
import 'parsleyjs';
|
import 'parsleyjs';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
import { HashRouter } from 'react-router-dom';
|
import { HashRouter } from 'react-router-dom';
|
||||||
@@ -18,8 +17,5 @@ const Entry = () => (
|
|||||||
const container = document.getElementById('settings_container');
|
const container = document.getElementById('settings_container');
|
||||||
if (container) {
|
if (container) {
|
||||||
initStore(window);
|
initStore(window);
|
||||||
// Select the settings submenu
|
|
||||||
// This is temporary and should be removed at the end of settings refactoring
|
|
||||||
jQuery('ul.wp-submenu > li:nth-child(7)').addClass('current');
|
|
||||||
ReactDOM.render(<Entry />, container);
|
ReactDOM.render(<Entry />, container);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user