From df3a429c94e07b36f3a12692043de7245adf4761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Jakes=CC=8C?= Date: Mon, 27 Apr 2020 12:16:10 +0200 Subject: [PATCH] Remove temporary Settings menu selection [MAILPOET-2682] --- assets/js/src/settings/index.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/assets/js/src/settings/index.tsx b/assets/js/src/settings/index.tsx index b273cd5e2e..d8d5b7fbf0 100644 --- a/assets/js/src/settings/index.tsx +++ b/assets/js/src/settings/index.tsx @@ -1,5 +1,4 @@ import React from 'react'; -import jQuery from 'jquery'; import 'parsleyjs'; import ReactDOM from 'react-dom'; import { HashRouter } from 'react-router-dom'; @@ -18,8 +17,5 @@ const Entry = () => ( const container = document.getElementById('settings_container'); if (container) { 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(, container); }