Skip to content

Commit

Permalink
Remove legacy sidebar text
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
scottybollinger committed Jan 21, 2021
1 parent cf2f8b0 commit 8c8a3fb
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 8c8a3fb

Please sign in to comment.