fix: remove icon and empty breadcrumb from libraries (#2129)
This commit is contained in:
@@ -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, useLocation } from 'react-router-dom';
|
||||
|
||||
import Loading from '../generic/Loading';
|
||||
@@ -223,16 +222,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;
|
||||
|
||||
Reference in New Issue
Block a user