Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
thsparks committed Feb 22, 2024
1 parent 862abde commit 77fe971
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions teachertool/src/components/CatalogModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { getSelectableCatalogCriteria } from "../state/helpers";
import css from "./styling/CatalogModal.module.scss";

interface CatalogCriteriaDisplayProps {
criteria: CatalogCriteria
criteria: CatalogCriteria;
}
const CatalogCriteriaDisplay: React.FC<CatalogCriteriaDisplayProps> = ({ criteria }) => {
return (
Expand All @@ -18,7 +18,7 @@ const CatalogCriteriaDisplay: React.FC<CatalogCriteriaDisplayProps> = ({ criteri
{criteria.description && <div className={css["criteria-description"]}>{criteria.description}</div>}
</div>
);
}
};

interface CatalogModalProps {}
export const CatalogModal: React.FC<CatalogModalProps> = ({}) => {
Expand Down
4 changes: 3 additions & 1 deletion teachertool/src/components/CriteriaTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ const CriteriaInstanceRow: React.FC<CriteriaInstanceDisplayProps> = ({ criteriaI
<div className={css["criteria-instance-display"]} role="row" title={catalogCriteria.template}>
<div className={classList(css["cell"], css["criteria-text-cell"])} role="cell">
{catalogCriteria.template}
{catalogCriteria.description && <div className={css["criteria-description"]}>{catalogCriteria.description}</div>}
{catalogCriteria.description && (
<div className={css["criteria-description"]}>{catalogCriteria.description}</div>
)}
</div>
<div
className={classList(css["cell"], css["criteria-action-menu-cell"])}
Expand Down

0 comments on commit 77fe971

Please sign in to comment.