Commit db5eddbd authored by Andrey Azov's avatar Andrey Azov
Browse files

Remove the wrapper around SidebarModal in TrackPanelModal

parent 017544f8
Pipeline #255975 passed with stages
in 4 minutes and 34 seconds
......@@ -30,8 +30,6 @@ import TrackPanelDownloads from './modal-views/TrackPanelDownloads';
import SidebarModal from 'src/shared/components/layout/sidebar-modal/SidebarModal';
import styles from './TrackPanelModal.scss';
export const TrackPanelModal = () => {
const trackPanelModalView = useSelector(getTrackPanelModalView);
const dispatch = useDispatch();
......@@ -65,11 +63,9 @@ export const TrackPanelModal = () => {
const { title, content } = getModalViewData();
return (
<section className={styles.trackPanelModal}>
<SidebarModal title={title} onClose={onClose}>
{content}
</SidebarModal>
</section>
<SidebarModal title={title} onClose={onClose}>
{content}
</SidebarModal>
);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment