Skip to content

Commit

Permalink
Replaced: duplicate display name with "Which" (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
john681611 authored Jul 4, 2023
1 parent aba6d2b commit c81c0aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ export const CommonRequirementEnumeration = () => {
Object.entries(linksByType).map(([type, links]) => (
<div className="cre-page__links" key={type}>
<div className="cre-page__links-eader">
{getDocumentDisplayName(display)}
<b>{DOCUMENT_TYPE_NAMES[type]}</b>:
<b>Which {DOCUMENT_TYPE_NAMES[type]}</b>:
</div>
{links.sort((a, b) => getDocumentDisplayName(a.document).localeCompare(getDocumentDisplayName(b.document))).map((link, i) => (
<div key={i} className="accordion ui fluid styled cre-page__links-container">
Expand Down
3 changes: 1 addition & 2 deletions application/frontend/src/pages/Standard/StandardSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ export const StandardSection = () => {
Object.entries(linksByType).map(([type, links]) => (
<div className="cre-page__links" key={type}>
<div className="cre-page__links-header">
{getDocumentDisplayName(document)}
<b>{DOCUMENT_TYPE_NAMES[type]}</b>:
<b>Which {DOCUMENT_TYPE_NAMES[type]}</b>:
</div>
{links.sort((a, b) => getDocumentDisplayName(a.document).localeCompare(getDocumentDisplayName(b.document))).map((link, i) => (
<div key={i} className="accordion ui fluid styled cre-page__links-container">
Expand Down

0 comments on commit c81c0aa

Please sign in to comment.