Remove legacy sidebar text

When I first migrated this, I left the sidebar copy in so that it was not aboandoned before the design pass. After talking with John we decided to just use the copy to the right of the sidebar so this drops that legacy copy.
This commit is contained in:
scottybollinger 2021-01-21 09:59:14 -06:00
parent cf2f8b0dcc
commit 8c8a3fb63c

View file

@ -164,19 +164,8 @@ export const PrivateSources: React.FC = () => {
</>
);
const PAGE_TITLE = canCreatePersonalSources
? PRIVATE_CAN_CREATE_PAGE_TITLE
: PRIVATE_VIEW_ONLY_PAGE_TITLE;
const PAGE_DESCRIPTION = canCreatePersonalSources
? PRIVATE_CAN_CREATE_PAGE_DESCRIPTION
: PRIVATE_VIEW_ONLY_PAGE_DESCRIPTION;
const pageHeader = <ViewContentHeader title={PAGE_TITLE} description={PAGE_DESCRIPTION} />;
return (
<SourcesView>
{/* TODO: Figure out with design how to make this look better w/o 2 ViewContentHeaders */}
{pageHeader}
{hasPrivateSources && !hasPlatinumLicense && licenseCallout}
{canAddSources && sourcesHeader}
{canCreatePersonalSources && privateSources}