fix: remove icon and empty breadcrumb from libraries (#2129) (#2133)

This commit is contained in:
Diana Villalvazo
2025-06-12 15:43:18 -06:00
committed by GitHub
parent 1968d146cd
commit 86d0a7e7db

View File

@@ -15,12 +15,11 @@ import {
Breadcrumb,
Button,
Container,
Icon,
Stack,
Tab,
Tabs,
} from '@openedx/paragon';
import { Add, ArrowBack, InfoOutline } from '@openedx/paragon/icons';
import { Add, InfoOutline } from '@openedx/paragon/icons';
import { Link } from 'react-router-dom';
import Loading from '../generic/Loading';
@@ -214,16 +213,11 @@ const LibraryAuthoringPage = ({
const breadcumbs = componentPickerMode && !restrictToLibrary ? (
<Breadcrumb
links={[
{
label: '',
to: '',
},
{
label: intl.formatMessage(messages.returnToLibrarySelection),
onClick: returnToLibrarySelection,
},
]}
spacer={<Icon src={ArrowBack} size="sm" />}
linkAs={Link}
/>
) : undefined;