refactor: Replace react-bootstrap MenuItems with Antd Menu (#11555)

* Remove MenuItem from SubMenu

* Fix tests

* Refactor PopoverDropdown

* Refactor Button

* Remove redundant Menu import
This commit is contained in:
Kamil Gabryjelski
2020-11-04 23:32:38 +01:00
committed by GitHub
parent ef7087adb6
commit 3e35ddd609
8 changed files with 78 additions and 38 deletions

View File

@@ -18,7 +18,7 @@
*/
import React from 'react';
import { Provider } from 'react-redux';
import { mount } from 'enzyme';
import { styledMount as mount } from 'spec/helpers/theming';
import sinon from 'sinon';
import DeleteComponentButton from 'src/dashboard/components/DeleteComponentButton';